共计 793 个字符,预计需要花费 2 分钟才能阅读完成。
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 a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
SHA256:WODetdWvKnM/8XqPmddddd/testvhzkPZ/i2IVVmYgNqywP370yI.
Please contact your system administrator.
Add correct host key in /Users/test/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/test/.ssh/known_hosts:18
ECDSA host key for 0.0.0.0 has changed and you have requested strict checking.
Host key verification failed.
通过字面意思,大概是说服务器标签被修改,大部分情况下重装系统之后,再次连接,也会出现这个提示,解决办法也很简单:
ssh-keygen -R 111.111.111.111(你远程服务器的 IP)
正文完
加入官方交流QQ群:778957856