mac ssh出现WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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
SHA256:IhBKMQoc74RLY29Opsjb/7dQaSwc8XjxwVz7krveDuc.
Please contact your system administrator.
Add correct host key in /Users/ho/.ssh/known_hosts to get rid of this message.
Offending RSA key in /Users/ho/.ssh/known_hosts:1
RSA host key for 192.168.1.222 has changed and you have requested strict checking.
Host key verification failed.

[进程已完成]



快速解决

新开一个终端窗口执行

> /Users/ho/.ssh/known_hosts


即可

你可能感兴趣的:(mac)