REMOTE HOST IDENTIFICATION HAS CHANGED解决方法

上周末 我司开发代码库网站  ***.***.com 进行升级维护。

周一来了后,Mac上git操作,就报出了错.

报错信息类似网上这种:


[root@cqcis ]# ssh -l [email protected]:/home home

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

@    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 the RSA host key has just been changed.

The fingerprint for the RSA key sent by the remote host is

d0:00:7c:bc:88:5c:dc:de:89:61:44:30:00:60:f9:b2.

Please contact your system administrator.

Add correct host key in /root/.ssh/known_hosts to get rid of this message.

Offending key in /root/.ssh/known_hosts:1

RSA host key for 136.3.243.233 has changed and you have requested strict checking.

Host key verification failed.


解决如下:

vim ~/.ssh/known_hosts

删除你的网站   ***.***.com   的相关rsa的信息即可.

你可能感兴趣的:(REMOTE HOST IDENTIFICATION HAS CHANGED解决方法)