when I ssh to log on the server,
error msg:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
28:5d:a3:42:1f:ac:d5:2b:9a:6a:b1:28:b1:6b:55:f8.
Please contact your system administrator.
Add correct host key in /home/whfwind/.ssh/known_hosts to get rid of this message.
Offending key in /home/whfwind/.ssh/known_hosts:2
RSA host key for 192.168.100.5 has changed and you have requested strict checking.
Host key verification failed.
找到 ~/.ssh/known_hosts 中不能登录的IP删除掉并保存,重新用ssh登录。
也就是,登录哪个 IP (或者host)不成功,就把对应的信息删掉,因为这个信息已经是错误的了,从新登录后,就会在这个文件中创建新的,正确的,对应host的信息在里面。
阅读(472) | 评论(0) | 转发(0) |