WinSCP commandline: Hostkey not found in cache error

旧街凉风 提交于 2019-12-05 18:43:35

A host key fingerprint verification is a crucial step in securing your SSH connection. Even if you are using a set of sessions with your script, it does not excuse you. The fingerprint should be part of a set of information you have for each of the sessions (in addition to a hostname, an username and a password).

Skipping the fingerprint verification means that you lose any security and there's no point using an SSH/SFTP anymore.

Anyway, if you do not care about a security, you can use the -hostkey=* switch to unconditionally accept any host key.

Further references:

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!