同一ip地址不同的主机冲突解决

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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:EqIFQoWYDISyGnJggyqnk8888LeNn3tr1+QmBQaso0.
Please contact your system administrator.
Add correct host key in /Users/caolijian/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/caolijian/.ssh/known_hosts:12
ECDSA host key for 192.168.31.112 has changed and you have requested strict checking.
Host key verification failed.

同一ip地址不同的主机会有冲突的情况,需要通过命令清除缓存文件。
ssh-keygen -R 192.168.1.112

posted @ 2020-07-20 14:20  醉后不知道天在水  阅读(335)  评论(0)    收藏  举报