问题:
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 a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
65:66:5b:5f:4c:09:f2:86:a6:90:a5:77:0a:ef:a9:90.
Please contact your system administrator.
Add correct host key in /root/.ssh/knaown_hosts to get rid of this message.
Offending RSA key in /root/.ssh/known_hosts:493
RSA host key for 111.9.15.51 has changed and you have requested strict checking.
Host key verification failed.
解决:
/root/.ssh/knaown_hosts
清空这个文件下的内容
命令:
:> /root/.ssh/knaown_hosts
本文解决了SSH连接中出现的主机密钥验证失败问题,通过清空特定文件内容避免了中间人攻击的风险。
16万+

被折叠的 条评论
为什么被折叠?



