Rclone do Config on remote LXC

What is the problem you are having with rclone?

Ive been avoiding Rclone for the past couple of years, because of this. But it seems, it is the best option and i need it to run:

I have Rclone installed on a remote Debian LXC and when i do the config it want to open the 127... (localhost) link. As it is just an ssh connection, its not working, even after putting the propper IP in front of the Port part...

Is there a SIMPLE!!!! way to do the Config of Rclone?
i have done it once or twice, that ive done the config on another Laptop, but surly there is a better way, right?

Run the command 'rclone version' and share the full output of the command.

root@test:~# rclone version
rclone v1.60.1-DEV

  • os/version: debian 12.10 (64 bit)
  • os/kernel: 6.8.12-10-pve (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.19.8
  • go/linking: dynamic
  • go/tags: none

Yes

Which cloud storage system are you using? (eg Google Drive)

OneDrive, GDrive, Dropbox

The command you were trying to run (eg rclone copy /tmp remote:tmp)

Paste command here

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

root@test:~# rclone config redacted
Usage:
  rclone config [flags]
  rclone config [command]

Available Commands:
  create      Create a new remote with name, type and options.
  delete      Delete an existing remote.
  disconnect  Disconnects user from remote
  dump        Dump the config file as JSON.
  file        Show path of configuration file in use.
  password    Update password in an existing remote.
  paths       Show paths used for configuration, cache, temp etc.
  providers   List in JSON format all the providers and options.
  reconnect   Re-authenticates user with remote.
  show        Print (decrypted) config file, or the config for a single remote.
  touch       Ensure configuration file exists.
  update      Update options in an existing remote.
  userinfo    Prints info about logged in user of remote.

Flags:
  -h, --help   help for config

Additional help topics:
  rclone config edit       Enter an interactive configuration session.

Use "rclone [command] --help" for more information about a command.
Use "rclone help flags" for to see the global flags.
Use "rclone help backends" for a list of supported services.
Command config needs 0 arguments maximum: you provided 1 non flag arguments: ["redacted"]

A log from the command that you were trying to run with the -vv flag

Storage> 18

Option client_id.
Google Application Client Id
Setting your own is recommended.
See https://rclone.org/drive/#making-your-own-client-id for how to create your own.
If you leave this blank, it will use an internal key which is low performance.
Enter a value. Press Enter to leave empty.
client_id> 

Option client_secret.
OAuth Client Secret.
Leave blank normally.
Enter a value. Press Enter to leave empty.
client_secret> 

Option scope.
Scope that rclone should use when requesting access from drive.
Choose a number from below, or type in your own value.
Press Enter to leave empty.
 1 / Full access all files, excluding Application Data Folder.
   \ (drive)
 2 / Read-only access to file metadata and file contents.
   \ (drive.readonly)
   / Access to files created by rclone only.
 3 | These are visible in the drive website.
   | File authorization is revoked when the user deauthorizes the app.
   \ (drive.file)
   / Allows read and write access to the Application Data folder.
 4 | This is not visible in the drive website.
   \ (drive.appfolder)
   / Allows read-only access to file metadata but
 5 | does not allow any access to read or download file content.
   \ (drive.metadata.readonly)
scope> 1

Option service_account_file.
Service Account Credentials JSON file path.
Leave blank normally.
Needed only if you want use SA instead of interactive login.
Leading `~` will be expanded in the file name as will environment variables such as `${RCLONE_CONFIG_DIR}`.
Enter a value. Press Enter to leave empty.
service_account_file> 

Edit advanced config?
y) Yes
n) No (default)
y/n> 

Use auto config?
 * Say Y if not sure
 * Say N if you are working on a remote or headless machine

y) Yes (default)
n) No
y/n> 

<5>NOTICE: If your browser doesn't open automatically go to the following link: http://127.0.0.1:53682/auth?state=qV9xxxxxxxxtMVcTpw
<5>NOTICE: Log in and authorize rclone for access
<5>NOTICE: Waiting for code...
^C

welcome to the forum,

  1. uninstall that many years old, custom compiled, dev version of rclone from an out of date repository.
  2. https://rclone.org/install/#script-installation
  3. test again.

what backend are you trying to setup, gdrive, onedrive or what?
https://rclone.org/remote_setup/

That was a fresh install, but ive followed your Link and installed (on another fresh LXC). Now its on Version:

root@test2:~/rclone-v1.69.2-linux-amd64# rclone --version
rclone v1.69.2
- os/version: debian 12.10 (64 bit)
- os/kernel: 6.8.12-10-pve (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.24.2
- go/linking: static
- go/tags: none

Tried the OneDrive Setup again, but the Link would not open on my Laptop, even after using the LXCs IP

I am trying to use OneDrive, but i named them all, because all had the same error.


So its the only way, that i need to install rclone on another mashine to get it to work?

Thank you for your answers and i am sorry about my wording

based on the link i shared, there are three ways