What is the problem you are having with rclone?
Having trouble connecting to rsync.net
via SFTP from two different servers (which might mean this is their problem and not a bug with rclone).
I'm seeing errors with ssh handshake failing due to DSA key too large. I don't see this problem when connecting to SFTP servers. Not sure if this is user error on my part, or if a problem with rsync.net
? I get the same error regardless of whether I use the SSH password in the config file, or via --sftp-ask-password
option on the command line:
2020/05/11 20:21:55 Failed to create file system for "rsyncnet:": NewFs: couldn't connect SSH: ssh: handshake failed: ssh: unsupported DSA key size 2048
I am able to connect directly via ssh. The server asks me for a password, I enter it and get a list of the files on the server just fine:
ssh username@subdomain.rsync.net ls
Password:
folder1
folder2
What is your rclone version
rclone v1.51.0-303-g962fbc82-beta
- os/arch: linux/amd64
- go version: go1.14.2
Which OS you are using and how many bits
Crostini Linux Virtual Machine in Chrome OS 64 bit Version 81.0.4044.141
uname -a
Linux penguin 4.19.98-08076-g24ab33fb8e14 #1 SMP PREEMPT Wed Apr 1 17:14:27 PDT 2020 x86_64 GNU/Linux
Vultr cloud server
Linux vultr.guest 5.4.0-26-generic #30-Ubuntu SMP Mon Apr 20 16:58:30 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Which cloud storage system are you using?
SFTP
The command you were trying to run
rclone lsd rsyncnet:
using a config file as follows
[rsyncnet]
type = sftp
host = subdomain.rsync.net
user = username
pass = *** ENCRYPTED ***
rclone --sftp-ask-password lsd rsyncnet:
using following config
[rsyncnet]
type = sftp
host = subdomain.rsync.net
user = username
A log from the command with the -vv
flag:
rclone -vv lsd rsyncnet:
2020/05/11 20:17:12 DEBUG : rclone: Version "v1.51.0-303-g962fbc82-beta" starting with parameters ["rclone" "-vv" "lsd" "rsyncnet:"]
2020/05/11 20:17:12 DEBUG : Using config file from "/home/user/.config/rclone/rclone.conf"
2020/05/11 20:17:16 DEBUG : pacer: low level retry 1/10 (error couldn't connect SSH: ssh: handshake failed: ssh: unsupported DSA key size 2048)
2020/05/11 20:17:16 DEBUG : pacer: Rate limited, increasing sleep to 200ms
2020/05/11 20:17:20 DEBUG : pacer: low level retry 2/10 (error couldn't connect SSH: ssh: handshake failed: ssh: unsupported DSA key size 2048)
2020/05/11 20:17:20 DEBUG : pacer: Rate limited, increasing sleep to 400ms
2020/05/11 20:17:29 DEBUG : pacer: low level retry 3/10 (error couldn't connect SSH: ssh: handshake failed: ssh: unsupported DSA key size 2048)
2020/05/11 20:17:29 DEBUG : pacer: Rate limited, increasing sleep to 800ms
2020/05/11 20:18:00 DEBUG : pacer: low level retry 4/10 (error couldn't connect SSH: dial tcp 69.43.165.6:22: connect: connection timed out)
2020/05/11 20:18:00 DEBUG : pacer: Rate limited, increasing sleep to 1.6s
2020/05/11 20:18:01 DEBUG : pacer: low level retry 5/10 (error couldn't connect SSH: ssh: handshake failed: ssh: unsupported DSA key size 2048)
2020/05/11 20:18:01 DEBUG : pacer: Rate limited, increasing sleep to 2s
2020/05/11 20:18:04 DEBUG : pacer: low level retry 6/10 (error couldn't connect SSH: ssh: handshake failed: ssh: unsupported DSA key size 2048)
2020/05/11 20:18:04 DEBUG : pacer: low level retry 7/10 (error couldn't connect SSH: ssh: handshake failed: ssh: unsupported DSA key size 2048)
2020/05/11 20:18:10 DEBUG : pacer: low level retry 8/10 (error couldn't connect SSH: ssh: handshake failed: ssh: unsupported DSA key size 2048)
2020/05/11 20:18:10 DEBUG : pacer: low level retry 9/10 (error couldn't connect SSH: ssh: handshake failed: ssh: unsupported DSA key size 2048)
2020/05/11 20:18:28 DEBUG : pacer: low level retry 10/10 (error couldn't connect SSH: ssh: handshake failed: ssh: unsupported DSA key size 2048)
2020/05/11 20:18:28 Failed to create file system for "rsyncnet:": NewFs: couldn't connect SSH: ssh: handshake failed: ssh: unsupported DSA key size 2048
rclone -vv --sftp-ask-password lsd rsyncnet:
2020/05/11 20:14:07 DEBUG : rclone: Version "v1.51.0-303-g962fbc82-beta" starting with parameters ["rclone" "-vv" "--sftp-ask-password" "lsd" "rsyncnet:"]
2020/05/11 20:14:07 DEBUG : Using config file from "/home/user/.config/rclone/rclone.conf"
Enter SFTP password:
2020/05/11 20:14:12 DEBUG : pacer: low level retry 1/10 (error couldn't connect SSH: ssh: handshake failed: ssh: unsupported DSA key size 2048)
2020/05/11 20:14:12 DEBUG : pacer: Rate limited, increasing sleep to 200ms
2020/05/11 20:14:12 DEBUG : pacer: low level retry 2/10 (error couldn't connect SSH: ssh: handshake failed: ssh: unsupported DSA key size 2048)
2020/05/11 20:14:12 DEBUG : pacer: Rate limited, increasing sleep to 400ms
2020/05/11 20:14:16 DEBUG : pacer: low level retry 3/10 (error couldn't connect SSH: ssh: handshake failed: ssh: unsupported DSA key size 2048)
2020/05/11 20:14:16 DEBUG : pacer: Rate limited, increasing sleep to 800ms
2020/05/11 20:14:16 DEBUG : pacer: low level retry 4/10 (error couldn't connect SSH: ssh: handshake failed: ssh: unsupported DSA key size 2048)
2020/05/11 20:14:16 DEBUG : pacer: Rate limited, increasing sleep to 1.6s
2020/05/11 20:14:20 DEBUG : pacer: low level retry 5/10 (error couldn't connect SSH: ssh: handshake failed: ssh: unsupported DSA key size 2048)
2020/05/11 20:14:20 DEBUG : pacer: Rate limited, increasing sleep to 2s
2020/05/11 20:14:20 DEBUG : pacer: low level retry 6/10 (error couldn't connect SSH: ssh: handshake failed: ssh: unsupported DSA key size 2048)
2020/05/11 20:14:23 DEBUG : pacer: low level retry 7/10 (error couldn't connect SSH: ssh: handshake failed: ssh: unsupported DSA key size 2048)
2020/05/11 20:14:25 DEBUG : pacer: low level retry 8/10 (error couldn't connect SSH: ssh: handshake failed: ssh: unsupported DSA key size 2048)
2020/05/11 20:14:28 DEBUG : pacer: low level retry 9/10 (error couldn't connect SSH: ssh: handshake failed: ssh: unsupported DSA key size 2048)
2020/05/11 20:14:29 DEBUG : pacer: low level retry 10/10 (error couldn't connect SSH: ssh: handshake failed: ssh: unsupported DSA key size 2048)
2020/05/11 20:14:29 Failed to create file system for "rsyncnet:": NewFs: couldn't connect SSH: ssh: handshake failed: ssh: unsupported DSA key size 2048