1. 程式人生 > >使用ssh連線伺服器IP時報錯Host key verification failed

使用ssh連線伺服器IP時報錯Host key verification failed

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
59:4a:a3:c6:84:76:27:42:66:3e:fd:30:31:4b:cb:8b.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /root/.ssh/known_hosts:22
RSA host key for 192.168.4.88 has changed and you have requested strict checking.
Host key verification failed.

使用SSH連線伺服器出現如上報錯,原因是地址金鑰存在,於當前連線機器資訊不符,刪除請求端上的/root/.ssh/know_host檔案中相應地址段落