PFC-MacBook-Pro:~ wing$ ssh root@172.16.122.134
错误提示:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 ECDSA key sent by the remote host is
SHA256:G4MfXs16FWxCzqUTBDSckeNn8dgUVG40qkAYlropEc8.
Please contact your system administrator.
Add correct host key in /Users/wing/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/wing/.ssh/known_hosts:7
ECDSA host key for 172.16.122.134 has changed and you have requested strict checking.
Host key verification failed.
解决方法:
vim ~/.ssh/known_hosts
把当前ip对应的那条记录删掉,重新连接即可。
浙公网安备 33010602011771号