Hi everyone,
I’m trying to set up Rclone on my VPS (running Ubuntu) to connect to Google Drive, but I’m having several issues and could use some help.
What I’ve Done So Far:
- Local Authentication:
- I installed Rclone on my Windows machine.
- I used
rclone authorize "drive"
in CMD to authenticate and got a token JSON.
- VPS Configuration:
- I connected to my VPS using PuTTY.
- I started configuring Rclone and chose not to use auto-config since I’m on a remote machine.
- I pasted the token JSON from Windows into the Rclone setup on the VPS.
Problems I’m Facing:
- Invalid Token Error: When I paste the token JSON into Rclone on the VPS, I get an error:
json
Copiar código
400 Bad Request
{"error": "invalid_grant", "error_description": "Malformed auth code."}
- SSH Tunnel Issues: I tried setting up an SSH tunnel to authenticate directly through my browser, but the browser couldn’t load the authentication page.
What I Need Help With:
- Why am I getting the
invalid_grant
error when using the token? - How can I properly authenticate Rclone on my VPS?
- Any tips on setting up an SSH tunnel correctly for this?
Thanks for any advice you can give!
rclone v1.50.2
- os/arch: linux/amd64
- go version: go1.13.8