RSA host key for HOST has changed and you have requested strict checking
2011-09-14 21:00
597 查看
RSA host key for HOST has changed and you have requested strict checking
If you get this:————————————-
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: POSSIBLE DNS SPOOFING DETECTED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
The RSA host key for HOST has changed,
and the key for the corresponding IP address IP
is unknown. This could either mean that
DNS SPOOFING is happening or the IP address for the host
and its host key have changed at the same time.
今天突然发现git连不上服务器了,ssh连接的时候会抱错:Read socket failed: Connection reset by peer.
重新把Windows 7服务器上的CopSSH重新安装一次以后,再用ssh连接结果报下面的错:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
26:4c:b0:d0:e1:fa:de:f4:1d:1d:2f:33:b7:81:fc:78.
Please contact your system administrator.
Add correct host key in /.ssh/known_hosts to get rid of this message.
Offending key in /.ssh/known_hosts:2
RSA host key for 192.168.1.110 has changed and you have requested strict checkin
g.
Host key verification failed.
搜索到known_hosts文件,清空,重新启动还是不行……
google以后发现了解决方法:
命令行调用如下命令:ssh-keygen -R HOST_IP (HOST_IP替换成你的服务器的IP)
原文参考在这里:http://codingrecipes.com/rsa-host-key-for-host-has-changed-and-you-have-requested-strict-checking
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
SOME_KEY
Please contact your system administrator.
Add correct host key in /Users/user… to get rid of this message.
Offending key in /Users/user…
RSA host key for HOST has changed and you have requested strict checking.
Host key verification failed.
————————————-
Then try:
ssh-keygen -R HOSTAnd try reconnecting…
相关文章推荐
- 错误:RSA host key for [ip address] has changed and you have requested strict checking.(已解决)
- RSA host key for mysharebook.cn has changed and you have requested strict checking. Host key verific
- RSA host key for mysharebook.cn has changed and you have requested strict checking. Host key verific
- SCP命令只能单项拷贝,另一个方向“RSA host key for 172.16.103.176 has changed and you have requested strict checki Host key verification failed. lost connection”问题
- CentOS:ECDSA host key "ip地址" for has changed and you have requested strict checking(转)
- SCP命令只能单项拷贝,另一个方向“RSA host key for 172.16.103.176 has changed and you have requested strict checki H
- 【报错】RSA host key for 192.168.1.xxx has changed and you have requested strict checking.
- No RSA host key is known for had-0 and you have requested strict checking.
- SSH RSA host key for has changed and you have requeste
- SSH RSA host key for has changed and you have requeste
- SSH RSA host key for has changed and you have requeste
- RSA host key for has changed
- linux下ssh或scp出现RSA host key for has changed
- ssh远程登录出现:RSA host key for *.*.*.* has changed...的解决办法
- It is also possible that a host key has just been changed. The fingerprint for the RSA key sent by t
- ssh远程登录出现:RSA host key for *.*.*.* has changed的解决办法
- RSA host key has changed 错误
- SSH:RSA host key has changed
- RSA host key has changed 错误
- RSA host key has changed,ssh公钥分发失败