Ssh handshake failure via rclone only

What is the problem you are having with rclone?

rclone lsf "my remote:" hangs (so does about). If I let it run long enough with the --log-level DEBUG, it gives me:

2025/04/27 15:05:39 DEBUG : pacer: low level retry 1/10 (error couldn't connect SSH: ssh: handshake failed: EOF)

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

sh-4.4$ rclone version
rclone v1.69.1
- os/version: unknown
- os/kernel: 3.10.108 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.24.0
- go/linking: static
- go/tags: none

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

Ultra.cc seedbox

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

rclone lsf "ultra seedbox:" --log-level DEBUG

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

(Oh, this command rules!)

[ultra seedbox]
type = sftp
host = XXX
user = XXX
port = 21
pass = XXX
shell_type = unix

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

sh-4.4$ rclone lsf "ultra seedbox:" -vv
2025/04/27 15:19:17 DEBUG : rclone: Version "v1.69.1" starting with parameters ["rclone" "lsf" "ultra seedbox:" "-vv"]
2025/04/27 15:19:17 DEBUG : Creating backend with remote "ultra seedbox:"
2025/04/27 15:19:17 DEBUG : Using config file from "/var/services/homes/ultra/.config/rclone/rclone.conf"
2025/04/27 15:24:17 DEBUG : pacer: low level retry 1/10 (error couldn't connect SSH: ssh: handshake failed: EOF)
2025/04/27 15:24:17 DEBUG : pacer: Rate limited, increasing sleep to 200ms
^C

Hey there! Love the forum and docs so far. Very helpful :slight_smile:

I'm trying to set this up between my NAS and a remote seedbox. Based on the logs above, I thought there must be some issue with my ssh setup. But I can successfully ssh into the seedbox from the NAS (e.g. ssh myuser@ipaddress.me) outside of rclone. For some reason, it's just in the rclone command, so I assume I did something wrong :thinking:

welcome to the forum,

with most servers, 21 is for ftp, 22 is for sftp

That'd do it! Thanks a ton, switching the port to 22 did the trick. :saluting_face: