<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[静怡家园]]></title> 
<link>http://www.zhanghaijun.com/index.php</link> 
<description><![CDATA[书山有路勤为径，学海无涯苦作舟！]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[静怡家园]]></copyright>
<item>
<link>http://www.zhanghaijun.com/post//</link>
<title><![CDATA[SSH 登录失败：Host key verification failed 的解决方法]]></title> 
<author>碟舞飞扬 &lt;webmaster@zhanghaijun.com&gt;</author>
<category><![CDATA[Linux技术]]></category>
<pubDate>Fri, 23 Sep 2011 03:52:53 +0000</pubDate> 
<guid>http://www.zhanghaijun.com/post//</guid> 
<description>
<![CDATA[ 
	在家搭配了一个模拟的环境，创建了几个虚拟机，今天远程连接到机器上使用内网IP连接到其他内网机器时，出现以下错误提示：<br/>@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@<br/>@&nbsp;&nbsp;&nbsp;&nbsp;WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!&nbsp;&nbsp;&nbsp;&nbsp; @<br/>@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@<br/>IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!<br/>Someone could be eavesdropping on you right now (man-in-the-middle attack)!<br/>It is also possible that the RSA host key has just been changed.<br/>The fingerprint for the RSA key sent by the remote host is<br/>a1:ee:9e:76:32:ab:79:83:21:c1:d1:eb:35:44:fe:b4.<br/>Please contact your system administrator.<br/>Add correct host key in /root/.ssh/known_hosts to get rid of this message.<br/>Offending key in /root/.ssh/known_hosts:13<br/>RSA host key for 192.168.1.6 has changed and you have requested strict checking.<br/>Host key verification failed.<br/>原因就是在上次登录到那台机器之后，我把那台虚拟机重新做了系统，导致Host key和之前保存的不一致，所以提示KEY 验证失败不能登录。<br/><span style="color: #FF0000;"><span style="font-size: 14px;">解决方法很简单： vi /root/.ssh/known_hosts 删除掉那个IP对应的公钥，保存退出再连接就可以了。</span></span><br/>Tags - <a href="http://www.zhanghaijun.com/tags/host/" rel="tag">host</a> , <a href="http://www.zhanghaijun.com/tags/key/" rel="tag">key</a> , <a href="http://www.zhanghaijun.com/tags/verification/" rel="tag">verification</a> , <a href="http://www.zhanghaijun.com/tags/failed/" rel="tag">failed</a>
]]>
</description>
</item><item>
<link>http://www.zhanghaijun.com/post//#blogcomment</link>
<title><![CDATA[[评论] SSH 登录失败：Host key verification failed 的解决方法]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://www.zhanghaijun.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>