REMOTE HOST IDENTIFICATION HAS CHANGED解决方法

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

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

报错信息类似网上这种:


[root@cqcis ]# ssh -l root@136.3.243.233:/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的信息即可.

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • NAME dnsmasq - A lightweight DHCP and caching DNS server....
    ximitc阅读 7,943评论 0 0
  • **2014真题Directions:Read the following text. Choose the be...
    又是夜半惊坐起阅读 13,435评论 0 23
  • 今天处理 ssh连接至 ubuntu 服务器时,提示以下错误: @@@@@@@@@@@@@@@@@@@@@@@@@...
    KuzeSS阅读 50,308评论 14 44
  • Spring Cloud为开发人员提供了快速构建分布式系统中一些常见模式的工具(例如配置管理,服务发现,断路器,智...
    卡卡罗2017阅读 135,368评论 19 139
  • 读的什么书:《演讲的力量》因为临时需要,所以改了书籍 阅读有效时间:一个小时 阅读中遇到了什么困难:阅读超过半...
    卿卿喵阅读 1,274评论 0 0