The token value that I can paste from my windows machine (which has the browser to the NAS system running a Unix environment) gets cut off
Windows machine rclone v1.69.1
- os/version: Microsoft Windows 11 Home 24H2 24H2 (64 bit)
- os/kernel: 10.0.26100.3194 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.24.0
- go/linking: static
- go/tags: cmount
Linux machine:
rclone v1.69.1
- os/version: unknown
- os/kernel: 3.2.26 (armv7l)
- os/type: linux
- os/arch: arm (ARMv7 compatible)
- go/version: go1.24.0
- go/linking: static
- go/tags: none
Using Onedrive for Business
The command is
"rclone config"
and I need to reauthenticate the rclone connection in my Linux NAS. As the NAS does not have a browser, I run the authorize command "rclone authorize" on the windows machine to get the client token.
[IFS]
type = onedrive
token = {"access_token":"XXX"2025-03-16T11:46:20.1457091+01:00"}
drive_id = b!mM0pYoNjA0O2phLkh7wzhbYFVtqzxj9JlX2-wM3bhB4UGsFfaOxpQYGImcsV86Ps
drive_type = business
region = global
[secret]
type = crypt
remote = IFS:RCBackup/
filename_encryption = standard
directory_name_encryption = true
password = XXX
[DB]
type = ftp
host = 192.168.2.114
user = ftp
use_insecure_cipher = true
pass = XXX
[secret2]
type = onedrive
token = {"access_token":XXX,"expiry":"2025-03-16T11:22:06.3236346+01:00"}
drive_id = b!mM0pYoNjA0O2phLkh7wzhbYFVtqzxj9JlX2-wM3bhB4UGsFfaOxpQYGImcsV86Ps
drive_type = business
The log file does not make too much sense as the problem is: I get a response from the authorize command in the windows machine, but when I try to paste the token into the client_token value in the NAS using Putty over an SSH connection, I hear an audio signal and see that only a part of the token (the first 4095 characters) are pasted. But the generated token from Microsoft has 5082 characters.
Also pasting party and repasting the rest does not work. It seems the client token value in rclone is too short (only 4095 characters).