Topic "Host key not found in cache."

Author Message


Hi I am running SFTP as window service.It automatically downloads a file after a specific interval.But I am a getting an error. When I connect to remote then it gives me an error, "The server host key is not found in cache." Here is complete error.

from Login: There was an error to download the fwis.xml file.
winscp> option batch abort
batch abort
winscp> option confirm off
confirm off
winscp> open SFTP://User@Hostname:Port -privatekey="Public Key"
Searching for host...
Connecting to host...
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 1024 b6:9f:b1:08:c2:a0:80:9b:34:b9:ba:3c:e2:6c:53:eb
If you trust this host, press Yes. To connect without adding host key to the cache, 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: Cancel
Host key wasn't verified!
Authentication failed.

Please Suggest me what should I do now?
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26858
Location: Prague, Czechia
Please read documentation
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