Reputation: 1958
I'm having issues with using the following format using WinSCP
open sftp://user:[email protected]
vs. this, which works with the console and GUI:
open sftp.site.com.
I would like to automate logging in through the command line but when I try with sftp://user:[email protected] I get a timeout.
Any ideas?
Upvotes: 1
Views: 161
Reputation: 69967
It works fine for me both ways. Is the problem that you are using site.com
instead of sftp.site.com
in your first example?
Just because you specify the protocol sftp, doesn't mean it will attempt to connect to sftp.site.com
when you provide site.com
as the host. You still need the full hostname, the sftp://
just tells it what protocol you want to speak once connected.
Upvotes: 1