<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://jackxiang.com/post//</link>
<title><![CDATA[[实践OK]new host key 取消显示,取消securecrt 在第一次ssh2连接时的“new host key提示。]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[WEB2.0]]></category>
<pubDate>Wed, 11 Oct 2017 14:18:47 +0000</pubDate> 
<guid>http://jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	背景：有的SSH连接提示 host key，很麻烦，如何取消。<br/><textarea name="code" class="php" rows="15" cols="100">
The host you specified (47.94.88.*), port 22 matched several entries in the
host key database, but the server&#039;s host key did not match any of 
the entries.&nbsp;&nbsp;See the help file for instructions on manually maintaining
the host key database.
It is recommended you verify your host key before accepting.
Server&#039;s host key fingerprint
SHA-2 hash: a2:6e:d2:05:de:51:74:49:fe:6a:26:b6:59:d5:2d:0e:39:fa:c5:69:88:eb:97:7c:b5:cd:34:72:de:7f:45:cc
SHA-1 hash: 6f:32:91:9d:ad:a4:ea:16:9f:f0:72:b1:90:79:ab:57:48:fe:0c:8f
MD5 hash: 22:6c:30:34:80:01:cd:fd:1d:7a:9b:5e:96:b9:17:bc
</textarea><br/>两步：<br/>一）删除先前的指纹文件：<br/>来自文件：D:&#92;Program Files&#92;SecureCRT&#92;ssh_tmp&#92;SSH2.ini<br/>文件里配置：S:&quot;Host Key Database Location&quot;=D:&#92;Program Files&#92;SecureCRT&#92;ssh_tmp&#92;KnownHosts&#92; <br/>上面的SSH2.ini有可能升级有多个，都统一找一下里面的路径并删除掉有newhostkey问题的IP.pub，都统一批量改成二）里面的配置项。<br/>bash-shell下操作如下：<br/>/d/Program Files/SecureCRT7.3/ssh_tmp/KnownHosts<br/>删除掉：rm -rf &#039;47.94.88.237[47.94.88.237]22.pub<br/><br/>二）配置文件修改，如下：<br/>From:<br/>D:&quot;Automatically Accept Host Keys&quot;=00000000<br/>To:<br/>D:&quot;Automatically Accept Host Keys&quot;=00000001<br/><br/>Save the change, restart SecureCRT.<br/>D:&#92;Program Files&#92;SecureCRT&#92;ssh_tmp&#92;SSH2.ini<br/><br/>内容如下：<br/>S:&quot;Host Key Database Location&quot;=D:&#92;Program Files&#92;SecureCRT&#92;ssh_tmp&#92;KnownHosts&#92;<br/>S:&quot;Host Key Database Location V2&quot;=$&#123;VDS_CONFIG_PATH&#125;&#92;KnownHosts&#92;<br/>D:&quot;Automatically Accept Host Keys&quot;=00000001<br/><br/>整个配置如下：<br/>D:&#92;Program Files&#92;SecureCRT&#92;ssh_tmp&#92;SSH2.ini<br/><textarea name="code" class="php" rows="15" cols="100">
S:&quot;Host Key Database Location&quot;=D:&#92;Program Files&#92;SecureCRT&#92;ssh_tmp&#92;KnownHosts&#92;
S:&quot;Identity Filename&quot;=
S:&quot;SSH1 Identity Filename&quot;=
D:&quot;Show Port Forwarding Error Box&quot;=00000001
D:&quot;Public Key Type&quot;=00000000
D:&quot;Enable Agent Forwarding&quot;=00000000
D:&quot;Add Private Keys To Agent&quot;=00000001
D:&quot;Try All Agent Keys&quot;=00000001
D:&quot;Enable Deprecated Gssapi&quot;=00000001
D:&quot;Suppress FQDN Warning&quot;=00000000
D:&quot;Check Certificate Revocation Lists&quot;=00000000
D:&quot;Cache Session Password&quot;=00000000
S:&quot;Monitor Hostkey Filename&quot;=
S:&quot;Identity Filename V2&quot;=
S:&quot;SSH1 Identity Filename V2&quot;=
S:&quot;Host Key Database Location V2&quot;=$&#123;VDS_CONFIG_PATH&#125;&#92;KnownHosts&#92;
S:&quot;Monitor Hostkey Filename V2&quot;=
D:&quot;Public Key Certificate Store&quot;=00000000
S:&quot;PKCS11 Provider Dll&quot;=
S:&quot;Public Key Certificate Serial Number&quot;=
S:&quot;Public Key Certificate Issuer&quot;=
D:&quot;Use Certificate As Raw Key&quot;=00000001
D:&quot;Automatically Accept Host Keys&quot;=00000001
</textarea><br/><br/>来自：http://blog.csdn.net/warcraftzhaochen/article/details/73867385
]]>
</description>
</item><item>
<link>http://jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] [实践OK]new host key 取消显示,取消securecrt 在第一次ssh2连接时的“new host key提示。]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>