Facing issue to setup sftp in rclone.
Getting error
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
[sftp]
type = sftp
host = 10.0.1.24
user = ftpuser
pass = *** ENCRYPTED ***
use_insecure_cipher = false
I am able to connect SFTP machine manually. #sftp ftpuser@10.0.1.24 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
ncw
(Nick Craig-Wood)
3
Was there more of this message? There should be something after the last :
. Can you post the complete log with -vv
please?
Can you use ssh
to connect to the server normally?
What is the ssh/sftp server?
1 Like
It's solved, Incorrect host mentioned in the config.
Thanks. @ncw
@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
ncw
(Nick Craig-Wood)
5
Great!
You can set the ACL paramter in the s3 config: https://rclone.org/s3/#s3-acl
Yes. rclone copy
will do exactly that but it won't remove deleted objects on the destination. Is that what you mean?
system
(system)
Closed
6
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.