WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

回复 收藏
在用ssh登录到其他机器上,经常会出现这样的错误提示:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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
bc:0f:4b:26:92:d4:be:8d:34:e6:65:e6:f5:98:e9:b0.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending key in /etc/ssh/ssh_known_hosts:1
RSA host key for 192.168.100.72 has changed and you have requested strict checking.
Host key verification failed.

出现这样的错误是因为:在/etc/ssh/ssh_known_hosts这个文件中已经存在了一个192.168.100.72 主机信息,但是跟现在这台不一样了,所以会报这样的错误,解决办法是:# >/etc/ssh/ssh_known_hosts 清空这个文件即可
2009-10-30 16:18 举报
已邀请:

回复帖子,请先登录注册

退出全屏模式 全屏模式 回复
评分
可选评分理由: