Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)


Topic review


Host key not found in cache.

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?