Re: Host key not found in cache.
Please read documentation
https://winscp.net/eng/docs/scripting#hostkey
https://winscp.net/eng/docs/scripting#hostkey
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
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...
Authenticating...
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.