Facing issue to setup sftp in rclone.
2020/10/07 08:58:46 Failed to create file system for "sftp:": NewFs: couldn't connect SSH: dial tcp 10.0.1.24:22: i/o timeout
This is rclone sftp config
type = sftp
host = 10.0.1.24
user = ftpuser
pass = *** ENCRYPTED ***
use_insecure_cipher = false
I am able to connect SFTP machine manually. #sftp email@example.com and its working fine for me
The connection is resolved but facing another issue while syncing file to sftp server
Error: Failed to create file system for "sftp:": NewFs: couldn't initialise SFTP: ssh: unexpected packet in response to channel open:
Please help on it
Was there more of this message? There should be something after the last
:. Can you post the complete log with
Can you use
ssh to connect to the server normally?
What is the ssh/sftp server?
It's solved, Incorrect host mentioned in the config.
@ncw I need help here on below questions:
- Can I set s3 acls "--acl=bucket-owner-full-control" on object which I am copying from sftp server to s3 bucket?
- Can I sync only changed/modified/New objects except removed objects from SFTP to S3 and vice-versa
You can set the ACL paramter in the s3 config: https://rclone.org/s3/#s3-acl
rclone copy will do exactly that but it won't remove deleted objects on the destination. Is that what you mean?
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.