Topic "Cannot connect to host via command line but can through GUI"

Author Message


I am attempting to open a connection to a host via the command line but the connection never completes. It eventually times out and aborts. If I use the same connection parameters via the GUI application the connection works fine. What could the possible cause of this be?

Below is what I get when I use this syntax /command "open username:password@servername:port"

Searching for host...
Connecting to host...
Host is not communicating for more than 15 seconds. Still waiting...
Warning: Aborting this operation will close connection!
Terminated by user.
winscp> exit
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26858
Location: Prague, Czechia
Please read FAQ. If that does not help, come back.
Martin Prikryl

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License