WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

Linux 下用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
2a:74:da:de:0c:4c:da:07:54:09:8e:17:78:69:fd:4d.
Please contact your system administrator.
Add correct host key in /home/oracle/.ssh/known_hosts to get rid of this message.
Offending key in /home/oracle/.ssh/known_hosts:2
RSA host key for 192.168.1.167 has changed and you have requested strict checking.

原来是同事重装了机器,原有的key失效了。

去删除/home/oracle/.ssh/known_hosts:2  后,重新建立ssh连接正常。

你可能感兴趣的:(c,linux,ssh,System,远程登录)