ssh 連接的時候 Host key verification failed
[root@cache001 swftools-0.9.0]# ssh 192.168.1.163
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
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:
RSA host key for 192.168.1.163 has changed and you have requested strict checking.
Host key verification failed.
解決方法:
vi ~/.ssh/known_hosts
進入此目錄,刪除192.168.1.163的相關rsa的信息即可.
或者刪除這個文件
cd ~/.ssh/
rm known_hosts