Topic " OPEN Command"

Author Message
[View user's profile]

Joined: 2013-10-08
Posts: 3
Location: UK
If I use the open command from the command line to connect to a server for the first time (and is not therefore in the winSCP cache), the following message is displayed:

The server's host key was not found in the cache. You have no guarantee that the
server is the computer you think it is.
The server's rsa2 key fingerprint is:
ssh-rsa 2048 xx:xx:xx:xx:xx:xx:cc:xx:aa:dd:aa:ff:aa:dd:aa:aa
If you trust this host, press Yes. To connect without adding host key to the cac
he, press No. To abandon the connection press Cancel.
Continue connecting and add host key to the cache?
(Y)es, (N)o, C(a)ncel, (C)opy Key

Does the open command provide parameters to be able to specify 1 of the 4 responses Y,N,a or C automatically, without user intervention?
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24759
Location: Prague, Czechia
Please read documentation:

If that does not help, come back.
Martin Prikryl

You can post new topics in this forum

Search Site

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