What is the problem you are having with rclone?
While using the ssh/sftp configuration from my Unraid server to my seedbox, I receive multiple connection refused messages but the connection does appear to be active and transfers are being attempted. I am currently performing this connection using ssh keys, but previously when I used a password there was no difference.
If I stop the rclone process, all other ssh methods are refused for a period of time (I assume this is a cooldown period). Aside from this cooldown period, I can successfully ssh/sftp from Windows PuTTY (password), Windows Filezilla (password), Unraid Filezilla (password), and from the command prompt on my Unraid server (ssh keys) into my seedbox.
Run the command 'rclone version' and share the full output of the command.
rclone v1.69.1
- os/version: slackware 15.0+ (64 bit)
- os/kernel: 6.6.68-Unraid (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)
sftp
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone copy seedbox:torrents/completed/ /mnt/user/data/torrents/ -vv
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[seedbox]
type = sftp
host = XXX
user = XXX
key_file = /root/.ssh/id_ed25519
shell_type = unix
md5sum_command = md5sum
sha1sum_command = sha1sum
key_use_agent = true
A log from the command that you were trying to run with the -vv
flag
2025/02/23 13:34:18 DEBUG : rclone: Version "v1.69.1" starting with parameters ["rcloneorig" "--config" "/boot/config/plugins/rclone/.rclone.conf" "copy" "seedbox:torrents/completed" "/mnt/user/data/torrents" "-vv"]
2025/02/23 13:34:18 DEBUG : Creating backend with remote "seedbox:torrents/completed"
2025/02/23 13:34:18 DEBUG : Using config file from "/boot/config/plugins/rclone/.rclone.conf"
2025/02/23 13:34:20 DEBUG : sftp://username@seedbox.host.name:22/torrents/completed: New connection local.ip.address:52040->seedbox.ip.address:22 to "SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u3"
2025/02/23 13:34:20 DEBUG : sftp://username@seedbox.host.name:22/torrents/completed: Shell type "unix" from config
2025/02/23 13:34:20 DEBUG : sftp://username@seedbox.host.name:22/torrents/completed: Relative path resolved to "/home/username/torrents/completed"
2025/02/23 13:34:20 DEBUG : sftp://username@seedbox.host.name:22/torrents/completed: Using root directory "/home/username/torrents/completed"
2025/02/23 13:34:20 DEBUG : Creating backend with remote "/mnt/user/data/torrents"
2025/02/23 13:34:21 DEBUG : Added delayed dir = "Many entries for folder name from directory on seedbox"
2025/02/23 13:34:21 DEBUG : pacer: low level retry 1/10 (error couldn't connect SSH: dial tcp seedbox.ip.address:22: connect: connection refused)
2025/02/23 13:34:21 DEBUG : pacer: Rate limited, increasing sleep to 200ms
2025/02/23 13:34:21 DEBUG : pacer: low level retry 1/10 (error couldn't connect SSH: dial tcp seedbox.ip.address:22: connect: connection refused)
2025/02/23 13:34:21 DEBUG : pacer: Rate limited, increasing sleep to 400ms
2025/02/23 13:34:21 DEBUG : pacer: low level retry 1/10 (error couldn't connect SSH: dial tcp seedbox.ip.address:22: connect: connection refused)
2025/02/23 13:34:21 DEBUG : pacer: Rate limited, increasing sleep to 800ms
2025/02/23 13:34:22 DEBUG : pacer: low level retry 2/10 (error couldn't connect SSH: dial tcp seedbox.ip.address:22: connect: connection refused)
2025/02/23 13:34:22 DEBUG : pacer: Rate limited, increasing sleep to 1.6s
2025/02/23 13:34:22 DEBUG : sftp://username@seedbox.host.name:22/torrents/completed: New connection local.ip.address:52066->seedbox.ip.address:22 to "SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u3"
2025/02/23 13:34:22 DEBUG : sftp://username@seedbox.host.name:22/torrents/completed: New connection local.ip.address:52066->seedbox.ip.address:22 to "SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u3"
2025/02/23 13:34:22 DEBUG : sftp://username@seedbox.host.name:22/torrents/completed: New connection local.ip.address:52066->seedbox.ip.address:22 to "SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u3"
2025/02/23 13:34:22 DEBUG : sftp://username@seedbox.host.name:22/torrents/completed: New connection local.ip.address:52066->seedbox.ip.address:22 to "SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u3"
2025/02/23 13:34:22 DEBUG : pacer: Reducing sleep to 1.2s
2025/02/23 13:34:22 DEBUG : pacer: low level retry 2/10 (error couldn't connect SSH: dial tcp seedbox.ip.address:22: connect: connection refused)
2025/02/23 13:34:22 DEBUG : pacer: Rate limited, increasing sleep to 2s
2025/02/23 13:34:22 DEBUG : pacer: Reducing sleep to 1.5s
2025/02/23 13:34:22 DEBUG : pacer: Reducing sleep to 1.125s
2025/02/23 13:34:23 DEBUG : pacer: Reducing sleep to 843.75ms
2025/02/23 13:34:24 DEBUG : pacer: low level retry 2/10 (error couldn't connect SSH: dial tcp seedbox.ip.address:22: connect: connection refused)
2025/02/23 13:34:24 DEBUG : pacer: Rate limited, increasing sleep to 1.6875s
2025/02/23 13:34:24 DEBUG : multiple_directory/multiple_file.ext: Unchanged skipping
2025/02/23 13:34:25 DEBUG : pacer: low level retry 3/10 (error couldn't connect SSH: dial tcp seedbox.ip.address:22: connect: connection refused)
2025/02/23 13:34:25 DEBUG : pacer: Rate limited, increasing sleep to 2s
2025/02/23 13:34:27 DEBUG : pacer: low level retry 3/10 (error couldn't connect SSH: dial tcp seedbox.ip.address:22: connect: connection refused)
2025/02/23 13:34:29 DEBUG : pacer: low level retry 3/10 (error couldn't connect SSH: dial tcp seedbox.ip.address:22: connect: connection refused)
2025/02/23 13:34:29 DEBUG : directory/multiple_file.ext: Need to transfer - File not found at Destination
2025/02/23 13:34:29 DEBUG : directory/multiple_file.ext: multi-thread copy: disabling buffering because destination uses OpenWriterAt
2025/02/23 13:34:29 DEBUG : directory/multiple_file.ext: multi-thread copy: write buffer set to 131072
2025/02/23 13:34:29 DEBUG : directory/multiple_file.ext: multi-thread copy: using backend concurrency of 4 instead of --multi-thread-streams 4
2025/02/23 13:34:29 DEBUG : directory/multiple_file.ext: Starting multi-thread copy with 22 chunks of size 64Mi with 4 parallel streams
2025/02/23 13:34:29 DEBUG : directory/multiple_file.ext: multi-thread copy: chunk 4/22 (201326592-268435456) size 64Mi starting
2025/02/23 13:34:29 DEBUG : directory/multiple_file.ext: multi-thread copy: chunk 3/22 (134217728-201326592) size 64Mi starting
2025/02/23 13:34:29 DEBUG : directory/multiple_file.ext: multi-thread copy: chunk 2/22 (67108864-134217728) size 64Mi starting
2025/02/23 13:34:29 DEBUG : directory/multiple_file.ext: multi-thread copy: chunk 1/22 (0-67108864) size 64Mi starting
2025/02/23 13:34:29 DEBUG : directory/multiple_file.ext: multi-thread copy: write buffer set to 131072
2025/02/23 13:34:29 DEBUG : directory/multiple_file.ext: multi-thread copy: using backend concurrency of 4 instead of --multi-thread-streams 4
2025/02/23 13:34:29 DEBUG : directory/multiple_file.ext: Starting multi-thread copy with 22 chunks of size 64Mi with 4 parallel streams
2025/02/23 13:34:29 DEBUG : directory/multiple_file.ext: multi-thread copy: chunk 4/22 (201326592-268435456) size 64Mi starting
2025/02/23 13:34:29 DEBUG : directory/multiple_file.ext: multi-thread copy: chunk 1/22 (0-67108864) size 64Mi starting
2025/02/23 13:34:29 DEBUG : directory/multiple_file.ext: multi-thread copy: chunk 2/22 (67108864-134217728) size 64Mi starting
2025/02/23 13:34:29 DEBUG : directory/multiple_file.ext: multi-thread copy: chunk 3/22 (134217728-201326592) size 64Mi starting
2025/02/23 13:34:29 DEBUG : directory/multiple_file.ext: multi-thread copy: write buffer set to 131072
2025/02/23 13:34:29 DEBUG : directory/multiple_file.ext: multi-thread copy: using backend concurrency of 4 instead of --multi-thread-streams 4
2025/02/23 13:34:29 DEBUG : directory/multiple_file.ext: Starting multi-thread copy with 22 chunks of size 64Mi with 4 parallel streams
2025/02/23 13:34:29 DEBUG : directory/multiple_file.ext: multi-thread copy: chunk 4/22 (201326592-268435456) size 64Mi starting
2025/02/23 13:34:29 DEBUG : directory/multiple_file.ext: multi-thread copy: chunk 1/22 (0-67108864) size 64Mi starting
2025/02/23 13:34:29 DEBUG : directory/multiple_file.ext: multi-thread copy: chunk 3/22 (134217728-201326592) size 64Mi starting
2025/02/23 13:34:29 DEBUG : directory/multiple_file.ext: multi-thread copy: chunk 2/22 (67108864-134217728) size 64Mi starting
2025/02/23 13:34:29 DEBUG : directory/multiple_file.ext: multi-thread copy: write buffer set to 131072
2025/02/23 13:34:29 DEBUG : directory/multiple_file.ext: multi-thread copy: using backend concurrency of 4 instead of --multi-thread-streams 4
2025/02/23 13:34:29 DEBUG : directory/multiple_file.ext: Starting multi-thread copy with 22 chunks of size 64Mi with 4 parallel streams
2025/02/23 13:34:29 DEBUG : directory/multiple_file.ext: multi-thread copy: chunk 4/22 (201326592-268435456) size 64Mi starting
2025/02/23 13:34:29 DEBUG : directory/multiple_file.ext: multi-thread copy: chunk 2/22 (67108864-134217728) size 64Mi starting
2025/02/23 13:34:29 DEBUG : directory/multiple_file.ext: multi-thread copy: chunk 1/22 (0-67108864) size 64Mi starting
2025/02/23 13:34:29 DEBUG : directory/multiple_file.ext: multi-thread copy: chunk 3/22 (134217728-201326592) size 64Mi starting
2025/02/23 13:34:29 DEBUG : directory/multiple_file.ext.ed0b22ec.partial: writing chunk 3
2025/02/23 13:34:29 DEBUG : directory/multiple_file.ext.d2c15b35.partial: writing chunk 2
2025/02/23 13:34:29 DEBUG : directory/multiple_file.ext.d2c15b35.partial: writing chunk 1
2025/02/23 13:34:29 DEBUG : directory/multiple_file.ext.d2c15b35.partial: writing chunk 3
2025/02/23 13:34:29 DEBUG : directory/multiple_file.ext.d2c15b35.partial: writing chunk 0
2025/02/23 13:34:31 DEBUG : pacer: low level retry 4/10 (error couldn't connect SSH: dial tcp seedbox.ip.address:22: connect: connection refused)
2025/02/23 13:34:33 DEBUG : pacer: low level retry 4/10 (error couldn't connect SSH: dial tcp seedbox.ip.address:22: connect: connection refused)
2025/02/23 13:34:35 DEBUG : pacer: low level retry 4/10 (error couldn't connect SSH: dial tcp seedbox.ip.address:22: connect: connection refused)
2025/02/23 13:34:35 DEBUG : directory/multiple_file.ext: multi-thread copy: chunk 1/22 (0-67108864) size 64Mi finished
2025/02/23 13:34:35 DEBUG : directory/multiple_file.ext: multi-thread copy: chunk 3/22 (134217728-201326592) size 64Mi finished
2025/02/23 13:34:35 DEBUG : directory/multiple_file.ext: multi-thread copy: chunk 2/22 (67108864-134217728) size 64Mi finished
2025/02/23 13:34:35 DEBUG : directory/multiple_file.ext: multi-thread copy: chunk 4/22 (201326592-268435456) size 64Mi finished
2025/02/23 13:34:35 DEBUG : directory/multiple_file.ext: multi-thread copy: chunk 5/22 (268435456-335544320) size 64Mi starting
2025/02/23 13:34:35 DEBUG : directory/multiple_file.ext: multi-thread copy: chunk 6/22 (335544320-402653184) size 64Mi starting
2025/02/23 13:34:35 DEBUG : directory/multiple_file.ext: multi-thread copy: chunk 7/22 (402653184-469762048) size 64Mi starting
2025/02/23 13:34:36 DEBUG : directory/multiple_file.ext.d2c15b35.partial: writing chunk 5
2025/02/23 13:34:36 DEBUG : directory/multiple_file.ext.d2c15b35.partial: writing chunk 6
2025/02/23 13:34:36 DEBUG : directory/multiple_file.ext: multi-thread copy: chunk 8/22 (469762048-536870912) size 64Mi starting
2025/02/23 13:34:36 DEBUG : directory/multiple_file.ext.d2c15b35.partial: writing chunk 4
2025/02/23 13:34:36 DEBUG : directory/multiple_file.ext.d2c15b35.partial: writing chunk 7
2025/02/23 13:34:37 DEBUG : pacer: low level retry 1/10 (error couldn't connect SSH: dial tcp seedbox.ip.address:22: connect: connection refused)
2025/02/23 13:34:39 DEBUG : pacer: low level retry 1/10 (error couldn't connect SSH: dial tcp seedbox.ip.address:22: connect: connection refused)
2025/02/23 13:34:41 DEBUG : pacer: low level retry 1/10 (error couldn't connect SSH: dial tcp seedbox.ip.address:22: connect: connection refused)
2025/02/23 13:34:41 DEBUG : directory/multiple_file.ext: multi-thread copy: chunk 4/22 (201326592-268435456) size 64Mi finished
2025/02/23 13:34:41 DEBUG : directory/multiple_file.ext: multi-thread copy: chunk 5/22 (268435456-335544320) size 64Mi starting
2025/02/23 13:34:41 DEBUG : directory/multiple_file.ext.ed0b22ec.partial: writing chunk 4
^Z
[1]+ Stopped