Hi all.
I've been using rclone in order to copy files from multiple client SFTP and until now it worked perfectly.
Our new client got me perplexed and on top of it, every 3 wrong tries it locks my account
The command I'm using is:
rclone copy client_sftp:Inbox client_s3:prefix --log-level DEBUG --use-json-log --transfers 16 --config rclone.conf --sftp-use-insecure-cipher --sftp-user username --sftp-pass pass --sftp-host mftprod.host.com
the logs are:
{"level":"debug","msg":"Version \"v1.56.2\" starting with parameters [\"rclone\" REDACTED ","object":"rclone","objectType":"string","source":"cmd/cmd.go:408","time":"2023-02-07T23:31:14.123196+02:00"}
{"level":"debug","msg":"Creating backend with remote \"REDACTED\"","source":"fs/newfs.go:28","time":"2023-02-07T23:31:14.123474+02:00"}
{"level":"debug","msg":"Using config file from \"/REDACTED/rclone.conf\"","source":"config/config.go:356","time":"2023-02-07T23:31:14.124071+02:00"}
{"level":"debug","msg":"detected overridden config - adding \"{wkom7}\" suffix to name","object":"REDACTED","objectType":"string","source":"fs/newfs.go:45","time":"2023-02-07T23:31:14.124203+02:00"}
{"level":"debug","msg":"New connection REDACTED to \"SSH-2.0-Maverick_SSHD\"","object":"REDACTED","objectType":"*sftp.Fs","source":"sftp/sftp.go:330","time":"2023-02-07T23:31:15.137979+02:00"}
{"level":"debug","msg":"low level retry 1/10 (error couldn't initialise SFTP: EOF)","object":"pacer","objectType":"string","source":"fs/pacer.go:90","time":"2023-02-07T23:31:15.652606+02:00"}
{"level":"debug","msg":"Rate limited, increasing sleep to 200ms","object":"pacer","objectType":"string","source":"fs/pacer.go:46","time":"2023-02-07T23:31:15.652682+02:00"}
.
.
.
.
.
{"level":"debug","msg":"low level retry 4/10 (error couldn't connect SSH: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain)","object":"pacer","objectType":"string","source":"fs/pacer.go:90","time":"2023-02-07T23:31:25.228663+02:00"}
.
.
.
{"level":"debug","msg":"low level retry 10/10 (error couldn't connect SSH: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain)","object":"pacer","objectType":"string","source":"fs/pacer.go:90","time":"2023-02-07T23:31:37.045686+02:00"}
2023/02/07 23:31:37 Failed to create file system for "REDACTED": NewFs: couldn't connect SSH: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain
the conf file is pretty redundant:
[client_s3]
type = s3
provider = AWS
env_auth = true
[client_sftp]
type = sftp
host =
user =
md5sum_command = none
sha1sum_command = none
I would appreciate any suggestion or an idea how to debug this issue.
Thanks!!!