今天在往目标板传输文件时,出现了标题所示的错误,其实之前也遇到过,一直没在意,今天仔细研究了一下,终于找到了解决办法。感谢 www.hackbase.com 提供的帮助信息
其原因基本是本地保存了目标机的某些RSA信息,只要删除这些RSA信息即可
vi ~/.ssh/known_hosts
找到目标机的ip,把它及后面的RSA信息删除即可
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
25:ab:2e:55:30:11:a0:84:d8:45:2f:5b:e2:47:eb:1e.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending key in /root/.ssh/known_hosts:1
RSA host key for 192.168.1.240 has changed and you have requested strict checking.
Host key verification failed.
lost connection