<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Stopping SSH Brute Force Attacks</title>
	<atom:link href="http://www.longren.org/stopping-ssh-brute-force-attacks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.longren.org/stopping-ssh-brute-force-attacks/</link>
	<description>Certified &#38; Decorated</description>
	<lastBuildDate>Thu, 09 Feb 2012 16:01:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: kruku</title>
		<link>http://www.longren.org/stopping-ssh-brute-force-attacks/comment-page-1/#comment-225333</link>
		<dc:creator>kruku</dc:creator>
		<pubDate>Fri, 19 Dec 2008 08:44:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.longren.org/2006/08/21/stopping-ssh-brute-force-attacks/#comment-225333</guid>
		<description>Yeo 
fail2ban do what must to do :)</description>
		<content:encoded><![CDATA[<p>Yeo<br />
fail2ban do what must to do :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Claudio</title>
		<link>http://www.longren.org/stopping-ssh-brute-force-attacks/comment-page-1/#comment-134720</link>
		<dc:creator>Claudio</dc:creator>
		<pubDate>Tue, 23 Oct 2007 05:07:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.longren.org/2006/08/21/stopping-ssh-brute-force-attacks/#comment-134720</guid>
		<description>guys, it&#039;s quite easy to avoid this entirely

yes, you can go about installing scripts to do the job (deny.hosts, bruteforce blocker, sshdfilter, sshdguard) or you can just get rid of password-authentication altogether (My solution.) Use two-form factor authentication (private/public key) exchange instead. use PuttyGen to generate the keys, or ssh-keygen on Unix, and put them in /etc/ssh/sshd_host_dsa_key or $HOME/.ssh/authorized_keys2 (or whatever is specified in /etc/ssh/sshd_config) ... this way, brute-force wordlists attempts are thwarted... also, consider changing the default sshd port, from 22 to something high. i chose 12586. third,  why not get rid of sshd entirely if you&#039;re the only one administering the server?? you can install webmin instead. Now you can administer your server through a browser GUI.</description>
		<content:encoded><![CDATA[<p>guys, it&#8217;s quite easy to avoid this entirely</p>
<p>yes, you can go about installing scripts to do the job (deny.hosts, bruteforce blocker, sshdfilter, sshdguard) or you can just get rid of password-authentication altogether (My solution.) Use two-form factor authentication (private/public key) exchange instead. use PuttyGen to generate the keys, or ssh-keygen on Unix, and put them in /etc/ssh/sshd_host_dsa_key or $HOME/.ssh/authorized_keys2 (or whatever is specified in /etc/ssh/sshd_config) &#8230; this way, brute-force wordlists attempts are thwarted&#8230; also, consider changing the default sshd port, from 22 to something high. i chose 12586. third,  why not get rid of sshd entirely if you&#8217;re the only one administering the server?? you can install webmin instead. Now you can administer your server through a browser GUI.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ed</title>
		<link>http://www.longren.org/stopping-ssh-brute-force-attacks/comment-page-1/#comment-45281</link>
		<dc:creator>Ed</dc:creator>
		<pubDate>Fri, 16 Mar 2007 23:11:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.longren.org/2006/08/21/stopping-ssh-brute-force-attacks/#comment-45281</guid>
		<description>I&#039;ve hacked together a similar script myself, that scans the logs and adds ips to iptables on the fly. Although it was a fun project, I have come to the obvious conclusion that it is always better to adopt a deny all by default policy on your firewall and just open it up for ips that  
you will be connecting from. The other method, which is brilliant, is called port knocking that involves running a sniffer that listens for a &#039;magic&#039; packet and then opens up port 22(or whatever) as and when.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve hacked together a similar script myself, that scans the logs and adds ips to iptables on the fly. Although it was a fun project, I have come to the obvious conclusion that it is always better to adopt a deny all by default policy on your firewall and just open it up for ips that<br />
you will be connecting from. The other method, which is brilliant, is called port knocking that involves running a sniffer that listens for a &#8216;magic&#8217; packet and then opens up port 22(or whatever) as and when.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://www.longren.org/stopping-ssh-brute-force-attacks/comment-page-1/#comment-30254</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Thu, 24 Aug 2006 03:21:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.longren.org/2006/08/21/stopping-ssh-brute-force-attacks/#comment-30254</guid>
		<description>I was fed up with ssh brute force attacks, but I didn&#039;t want to install software to automate blocking via iptables (I really think this should be an option in sshd itself). Instead, I&#039;ve configured sshd on *all* of the systems I&#039;m responsible for to listen on a single port that is not port 22. You&#039;d think this would be a hassle, as there are some machines that I don&#039;t have control over that still listen on port 22. Instead of specifying the -p flag when connecting when using ssh clients, I simply added entries to my .ssh/config file so that the hosts listening on other the other port had the Port parameter set properly. This means I can connect to port 22 or the &#039;other port&#039; completely transparently. In one year, I have had ZERO brute force attacks.</description>
		<content:encoded><![CDATA[<p>I was fed up with ssh brute force attacks, but I didn&#8217;t want to install software to automate blocking via iptables (I really think this should be an option in sshd itself). Instead, I&#8217;ve configured sshd on *all* of the systems I&#8217;m responsible for to listen on a single port that is not port 22. You&#8217;d think this would be a hassle, as there are some machines that I don&#8217;t have control over that still listen on port 22. Instead of specifying the -p flag when connecting when using ssh clients, I simply added entries to my .ssh/config file so that the hosts listening on other the other port had the Port parameter set properly. This means I can connect to port 22 or the &#8216;other port&#8217; completely transparently. In one year, I have had ZERO brute force attacks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: More SSH Brute Force Protection at T. Longren</title>
		<link>http://www.longren.org/stopping-ssh-brute-force-attacks/comment-page-1/#comment-30252</link>
		<dc:creator>More SSH Brute Force Protection at T. Longren</dc:creator>
		<pubDate>Thu, 24 Aug 2006 01:18:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.longren.org/2006/08/21/stopping-ssh-brute-force-attacks/#comment-30252</guid>
		<description>[...] Stopping SSH Brute Force Attacks resulted in some really great comments and suggestions from readers. [...]</description>
		<content:encoded><![CDATA[<p>[...] Stopping SSH Brute Force Attacks resulted in some really great comments and suggestions from readers. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tyler</title>
		<link>http://www.longren.org/stopping-ssh-brute-force-attacks/comment-page-1/#comment-30240</link>
		<dc:creator>Tyler</dc:creator>
		<pubDate>Wed, 23 Aug 2006 13:03:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.longren.org/2006/08/21/stopping-ssh-brute-force-attacks/#comment-30240</guid>
		<description>Ilan Schnell, I really like that option as it gives an instant look at what IP&#039;s have been attempting to login.  Any chance I could get the script you use to generate that page?</description>
		<content:encoded><![CDATA[<p>Ilan Schnell, I really like that option as it gives an instant look at what IP&#8217;s have been attempting to login.  Any chance I could get the script you use to generate that page?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ilan Schnell</title>
		<link>http://www.longren.org/stopping-ssh-brute-force-attacks/comment-page-1/#comment-30236</link>
		<dc:creator>Ilan Schnell</dc:creator>
		<pubDate>Wed, 23 Aug 2006 07:16:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.longren.org/2006/08/21/stopping-ssh-brute-force-attacks/#comment-30236</guid>
		<description>From October 2005 until May 2006 I was at Georgetown University and had a
machine which was online 24/7 with the same IP.  I also noticed SSH attacks,
and wrote a small script to get an overview of the IPs used by the attacker(s)
and the login names being tryed.  Here is a link to my overview:
  &lt;a href=&quot;http://ilan.schnell-web.net/test/ssh.html&quot; rel=&quot;nofollow&quot;&gt;http://ilan.schnell-web.net/test/ssh.html&lt;/a&gt;

Notice that sometimes the same login names are tryed on different day from diffenrt IPs,
so the attacker uses the same script.</description>
		<content:encoded><![CDATA[<p>From October 2005 until May 2006 I was at Georgetown University and had a<br />
machine which was online 24/7 with the same IP.  I also noticed SSH attacks,<br />
and wrote a small script to get an overview of the IPs used by the attacker(s)<br />
and the login names being tryed.  Here is a link to my overview:<br />
  <a href="http://ilan.schnell-web.net/test/ssh.html" rel="nofollow">http://ilan.schnell-web.net/test/ssh.html</a></p>
<p>Notice that sometimes the same login names are tryed on different day from diffenrt IPs,<br />
so the attacker uses the same script.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pwyll</title>
		<link>http://www.longren.org/stopping-ssh-brute-force-attacks/comment-page-1/#comment-30224</link>
		<dc:creator>pwyll</dc:creator>
		<pubDate>Wed, 23 Aug 2006 01:51:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.longren.org/2006/08/21/stopping-ssh-brute-force-attacks/#comment-30224</guid>
		<description>A complementary approach is configure sshd to require crytographic keys instead of passwords. No amount of brute force would suffice to guess a key. Properly set up, this approach is actually more convenient (IMO) than passwords.  The setup is nicely explained at &lt;a href=&quot;http://kimmo.suominen.com/docs/ssh/&quot; rel=&quot;nofollow&quot;&gt;Setting up ssh&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>A complementary approach is configure sshd to require crytographic keys instead of passwords. No amount of brute force would suffice to guess a key. Properly set up, this approach is actually more convenient (IMO) than passwords.  The setup is nicely explained at <a href="http://kimmo.suominen.com/docs/ssh/" rel="nofollow">Setting up ssh</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kuriharu</title>
		<link>http://www.longren.org/stopping-ssh-brute-force-attacks/comment-page-1/#comment-30217</link>
		<dc:creator>kuriharu</dc:creator>
		<pubDate>Tue, 22 Aug 2006 17:18:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.longren.org/2006/08/21/stopping-ssh-brute-force-attacks/#comment-30217</guid>
		<description>Looks good. I&#039;m using a program called authfail that does the same thing, and it&#039;s also written in PERL.</description>
		<content:encoded><![CDATA[<p>Looks good. I&#8217;m using a program called authfail that does the same thing, and it&#8217;s also written in PERL.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tyler</title>
		<link>http://www.longren.org/stopping-ssh-brute-force-attacks/comment-page-1/#comment-30215</link>
		<dc:creator>Tyler</dc:creator>
		<pubDate>Tue, 22 Aug 2006 15:52:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.longren.org/2006/08/21/stopping-ssh-brute-force-attacks/#comment-30215</guid>
		<description>Thanks for the info Canuck!  Fail2Ban looks great!!  I am probably going to switch my breakinguard box over to Fail2Ban simply because Fail2Ban looks like it still gets regular updates, where breakinguard does not.

Many thanks for the link!</description>
		<content:encoded><![CDATA[<p>Thanks for the info Canuck!  Fail2Ban looks great!!  I am probably going to switch my breakinguard box over to Fail2Ban simply because Fail2Ban looks like it still gets regular updates, where breakinguard does not.</p>
<p>Many thanks for the link!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

