ssh一台远程linux出现如下问题
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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:Ot0G2nMGGH+gUCDXClCKL7YP0Ij+v8iePMfaoU3kA60.
Please contact your system administrator.
Add correct host key in /Users/z/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/z/.ssh/known_hosts:16
ECDSA host key for 10.211.55.7 has changed and you have requested strict checking.
Host key verification failed.
解决办法:
rm -rf ~/.ssh/known_hosts
网友评论