@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 ED25519 key sent by the remote host is
SHA256:yDBkBRA7gdiB2ZrRDpZpXaDV5eVeRvFb5yGNwGRNMUU.
Please contact your system administrator.
Add correct host key in /Users/mac/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/mac/.ssh/known_hosts:33
Host key for 192.168.3.251 has changed and you have requested strict checking.
Host key verification failed.
这是因为我们本地的known_hosts保存的主机hostkey记录改变了,导致之前已经记录了连接的服务器的IP及内容,当我们重装系统后,系统的内容变了,我们的记录还是之前的内容。
解决办法:我们只要输入以下的命令代码就可以解决
好了,现在重新ssh吧
- 最新
- 最热
只看作者