<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>稀饭的国度 &#187; ssh</title>
	<atom:link href="http://blog.thematice.com/html/ytag/ssh/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.thematice.com</link>
	<description>发现自己的脑袋不好使了，用blog来记录真的很好用。</description>
	<lastBuildDate>Wed, 01 Feb 2012 05:33:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>用DenyHosts阻止SSH暴力破解</title>
		<link>http://blog.thematice.com/html/y2008/02/03/48/%e7%94%a8denyhosts%e9%98%bb%e6%ad%a2ssh%e6%9a%b4%e5%8a%9b%e7%a0%b4%e8%a7%a3.html#utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=%25e7%2594%25a8denyhosts%25e9%2598%25bb%25e6%25ad%25a2ssh%25e6%259a%25b4%25e5%258a%259b%25e7%25a0%25b4%25e8%25a7%25a3</link>
		<comments>http://blog.thematice.com/html/y2008/02/03/48/%e7%94%a8denyhosts%e9%98%bb%e6%ad%a2ssh%e6%9a%b4%e5%8a%9b%e7%a0%b4%e8%a7%a3.html#comments</comments>
		<pubDate>Sun, 03 Feb 2008 02:43:21 +0000</pubDate>
		<dc:creator>稀饭</dc:creator>
				<category><![CDATA[Linux tools]]></category>
		<category><![CDATA[ddos]]></category>
		<category><![CDATA[denyhosts]]></category>
		<category><![CDATA[dos]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.gruelstate.cn/?p=48</guid>
		<description><![CDATA[作者：陶然 写于2007年8月。最后更新： 08/09/2007 10:38:28 版权声明：本文可以任意转载，转载时请保持文章的完整性，并以超链接形式标明文章原始出处和作者信息及本声明。 http://www.taoran.net/tech/denyhosts.html     DenyHosts是用Python2.3写的一个程序，它会分析/var/log/secure（redhat，Fedora Core）等日志文件，当发现同一IP在进行多次SSH密 码尝试时就会记录IP到/etc/hosts.deny文件，从而达到自动屏蔽该IP的目的。 DenyHosts官方网站为：http://denyhosts.sourceforge.net 一、检查安装条件 1、首先判断系统安装的sshd是否支持tcp_wrappers（默认都支持） # ldd /usr/sbin/sshd libwrap.so.0 =&#62; /usr/lib/libwrap.so.0 (0x0046e000) 2、判断默认安装的Python版本 # python -V Python 2.3.4 二、已安装Python2.3以上版本的情况（以RedHat AS4为例） 1、安装DenyHosts # cd /usr/local/src # wget http://umn.dl.sourceforge.net/sourceforge/denyhosts/DenyHosts-2.6.tar.gz # tar zxf DenyHosts-2.6.tar.gz # cd DenyHosts-2.6 # python setup.py install       程序脚本自动安装到/usr/share/denyhosts    库文件自动安装到/usr/lib/python2.3/site-packages/DenyHosts    denyhosts.py自动安装到/usr/bin 2、设置启动脚本 # [...]]]></description>
		<wfw:commentRss>http://blog.thematice.com/html/y2008/02/03/48/%e7%94%a8denyhosts%e9%98%bb%e6%ad%a2ssh%e6%9a%b4%e5%8a%9b%e7%a0%b4%e8%a7%a3.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SSH-KEYGEN 免输入密码</title>
		<link>http://blog.thematice.com/html/y2007/11/12/22/ssh-keygen-%e5%85%8d%e8%be%93%e5%85%a5%e5%af%86%e7%a0%81.html#utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ssh-keygen-%25e5%2585%258d%25e8%25be%2593%25e5%2585%25a5%25e5%25af%2586%25e7%25a0%2581</link>
		<comments>http://blog.thematice.com/html/y2007/11/12/22/ssh-keygen-%e5%85%8d%e8%be%93%e5%85%a5%e5%af%86%e7%a0%81.html#comments</comments>
		<pubDate>Mon, 12 Nov 2007 14:48:44 +0000</pubDate>
		<dc:creator>稀饭</dc:creator>
				<category><![CDATA[Linux net]]></category>
		<category><![CDATA[keygen]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[private]]></category>
		<category><![CDATA[public]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.gruelstate.cn/index.php/2007/11/12/ssh-keygen-%e5%85%8d%e8%be%93%e5%85%a5%e5%af%86%e7%a0%81/</guid>
		<description><![CDATA[懶得打密碼, 以 key 做認證登錄. 步驟如下: ssh-keygen -t rsa 或 ssh-keygen -d (dsa) =&#62; 產生出 id_rsa, id_rsa.pub scp id_rsa.pub server_hostname:~/.ssh/ ssh server_hostname cat .ssh/id_rsa.pub &#62;&#62; .ssh/authorized_keys 即可 這樣子就可以 key 認證登入, 不需輸入密碼. PS: gen 時會問 Enter passphrase (empty for no passphrase): 此處直接 enter 跳過,下次才不會詢問password 簡單解說一下: id_rsa: private key id_rsa.pub: public key 將 public key(id_rsa.pub) 拷貝到遠端的電腦後, 加到那 user [...]]]></description>
		<wfw:commentRss>http://blog.thematice.com/html/y2007/11/12/22/ssh-keygen-%e5%85%8d%e8%be%93%e5%85%a5%e5%af%86%e7%a0%81.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

