I am trying to connect to my ubuntu dev server. My config is
type = sftp
host = example.com
user = frappe
pass = *** ENCRYPTED ***
use_insecure_cipher = true
disable_hashcheck = false
When i do rclone lsd greycubedev:lsd I get following error
2018/08/17 17:09:41 Failed to create file system for “greycubedev:lsd”: NewFs: couldn’t connect SSH: dial tcp 126.96.36.199:22: i/o timeout
To rule out any configuration issue on my side. I manually did SSH with same IP/user/pwd and it is successful
What could be incorrect? Please advice. Thanks! for you valuable time.
Are you seeing any app armor error or a firewall type error? The message is saying a connection can’t be made so something is blocking it.
I don’t think so…That is why I did ssh from prompt to rule out such things
If you do on the server running rclone:
telnet 188.8.131.52 22
Does it connect?
Ok…got it…it appears rclone only gets connected to server with valid domain name. If it is just valid IP without any domain associated with it. it appears it fails
So solution is to put in when rclone config asks for host we should give IP (by the way if we choose default 1 i.e. example.com then IP is 184.108.40.206 )
host> your server IP
Thanks!! @Animosity022 for all the help and right pointers. Topic can be closed