GIT: WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED解决方法

转载 2016年08月28日 19:07:33
   WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED解决方法

 这几天都这整linux集群,在做测试 Marking Packets with iptables 时遇到一个问题,想通过博客的形式记录此错误具体如下:
 当ssh 10.1.1.61
 时出现一下情况:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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 192.168.4.222 has changed and you have requested strict checking.
Host key verification failed.


解决办法:
先cat一下家目录的.ssh/know_hosts
cat ~/.ssh/known_hosts
10.1.1.66 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAs86YOUHdfYUMHkJUmSpFeJCc0ztFQiWGIKlyrnf4KVCz+Ece/yY59QXnVG7b0DWA/wyzlaGRdumWFexX4Y7VE3WunEeXVPMRjF0YZgG5qW6EDXNMEquZzI5k7Jg96VGq+5ZzhtsRhUqXH1aNrMYydRfMUFDXTh+a3jKcoQLx9IiifouUuh5JEelql9w9FRgmOgOqmm3CVbn33mblyHZa0UOa3GDpFGRxFjxyPVLuOD90rJIVc126CxIK3TmsFS0emO7qxpz4mrNG/1xpCqgKxNejBkrlUtxzLxGbwuod3HPX7OB28uk1RdGsXhcZtKsPph3a04i7Y5C5QZ1XDXFzQw==
10.1.1.61 ssh-rsa AAAAB3NzaC1yc2EAAAABJUHjuHGUsI5fLkoQayuhjMLXaE69VlxA7en/SmxXs+VDjgXLGLLTLdSOxki1cBDzuPm4FefmES4A3X3mfAB8L46rFnPJe45hca4U6uC/IbJMlO8GhrWs+fpIYVdMmOkabBQl8li0J0bclmKlsRfpnsuSfT/hm5nBUUlmQcoXzGqvoLHRgV7JESdgvMoxlHzCSGRj62aBtJXktv5dbh5vCxjeh4jFrn4FrNo7IkG3fA6NoGBqUs6tENAclxI8F1b+479ywAqQedy233n2gW+l5v6Ms1uD+1jxxCiHx8OtO1/V7/vWLfEQfEMU323y4zHu4uXFLv9WB1XGNMgqEBlELSBkNpC4Pw==

进入此文件
vim ~/.ssh/known_hosts

删除10.1.1.61的相关rsa的信息即可.
 

相关文章推荐

SSH登陆错误"WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! "

SSH登陆错误解决办法: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST ID...

遇到了WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

登录虚拟机时遇到了这个警告:zz@server5:~/temp/testlist$ ssh zz@10.0.11.38 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...
  • k7arm
  • k7arm
  • 2017年08月07日 09:57
  • 115

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

在 CentOS 6.5 下使用 SCP 命令(scp mysql-5.7.12-1.el6.x86_64.rpm-bundle.tar root@192.168.0.154:/opt/)向一个台主机...

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @    WARNING: REMOTE HOST IDENTIFICAT...
  • yzq9958
  • yzq9958
  • 2016年04月22日 14:09
  • 123

ssh远程登录报错REMOTE HOST IDENTIFICATION HAS CHANGED!解决方案及原因

ssh认证失败的解决方案与原因。

Warning: Call-time pass-by-reference has been deprecated解决方法

/* Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you woul...

关于 Warning: Call-time pass-by-reference has been deprecated解决方法

Deprecated: Call-time pass-by-reference has been deprecated in D:\wamp\www\php\tieba\include\init.ph...

RAC 安装 Actual Result Unknown Host Exception has Occurred 错误解决方法

  安装RAC Clusterware,在验证的时候,有2个没有通过,内容如下: Checking local Cluster Synchronization Services (CSS) statu...

git 错误: Unable to find remote helper for 'https'解决方法

问题描述 git 错误: Unable to find remote helper for 'https' 今天知道问题的原因了,是因为 /usr/libexec/git-core/ 路径...

[GIT] warning: LF will be replaced by CRLF问题解决方法

摘自:http://michael-roshen.iteye.com/blog/1328142 开发环境: 操作系统: windows xp ruby 1.9.2 rails 3.1.3 ...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:GIT: WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED解决方法
举报原因:
原因补充:

(最多只允许输入30个字)