<?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: What You Ought To Know About Securing SSH</title>
	<atom:link href="http://ubuntu-tutorials.com/2007/02/14/what-you-ought-to-know-about-securing-ssh/feed/" rel="self" type="application/rss+xml" />
	<link>http://ubuntu-tutorials.com/2007/02/14/what-you-ought-to-know-about-securing-ssh/</link>
	<description>Enhancing your Ubuntu experience!</description>
	<lastBuildDate>Fri, 11 May 2012 05:04:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: David</title>
		<link>http://ubuntu-tutorials.com/2007/02/14/what-you-ought-to-know-about-securing-ssh/#comment-11133</link>
		<dc:creator>David</dc:creator>
		<pubDate>Sun, 06 Jun 2010 22:23:29 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=272#comment-11133</guid>
		<description>&lt;a href=&quot;#comment-913&quot; rel=&quot;nofollow&quot;&gt;@ Aaron&lt;/a&gt; and &lt;a href=&quot;#comment-914&quot; rel=&quot;nofollow&quot;&gt;@ Justin&lt;/a&gt; get it. Changing the port is like moving from downtown into the country. Sure if one person was out to get you they could follow you - but the rest of the city won&#039;t bother to chase you all the way out there.</description>
		<content:encoded><![CDATA[<p><a href="#comment-913" rel="nofollow">@ Aaron</a> and <a href="#comment-914" rel="nofollow">@ Justin</a> get it. Changing the port is like moving from downtown into the country. Sure if one person was out to get you they could follow you &#8211; but the rest of the city won&#8217;t bother to chase you all the way out there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gareth</title>
		<link>http://ubuntu-tutorials.com/2007/02/14/what-you-ought-to-know-about-securing-ssh/#comment-10047</link>
		<dc:creator>Gareth</dc:creator>
		<pubDate>Thu, 10 Dec 2009 12:16:36 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=272#comment-10047</guid>
		<description>There are plenty of people suggesting using RSA keys instead of passwords, but can someone explain how to do this?  I&#039;ve got the keys created, but I can&#039;t figure out how to dissable password logins without affecting local logins. 
 
It would be really nice to be able to validate the remote MAC address as well.  It&#039;s just a shame that information is only transmitted on a local network. :-( </description>
		<content:encoded><![CDATA[<p>There are plenty of people suggesting using RSA keys instead of passwords, but can someone explain how to do this?  I&#39;ve got the keys created, but I can&#39;t figure out how to dissable password logins without affecting local logins. </p>
<p>It would be really nice to be able to validate the remote MAC address as well.  It&#39;s just a shame that information is only transmitted on a local network. <img src='http://ubuntu-tutorials.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' />  </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Seedboxes</title>
		<link>http://ubuntu-tutorials.com/2007/02/14/what-you-ought-to-know-about-securing-ssh/#comment-9798</link>
		<dc:creator>Seedboxes</dc:creator>
		<pubDate>Thu, 15 Oct 2009 18:22:48 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=272#comment-9798</guid>
		<description>I use fail2ban with iptables and also change ports from defaults. </description>
		<content:encoded><![CDATA[<p>I use fail2ban with iptables and also change ports from defaults. </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick</title>
		<link>http://ubuntu-tutorials.com/2007/02/14/what-you-ought-to-know-about-securing-ssh/#comment-4497</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Thu, 15 May 2008 03:00:39 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=272#comment-4497</guid>
		<description>DenyHosts is a nice program that blocks IPs (add to hosts.deny) when # of login attempts occur. I enabled the PermitRootLogin because it makes my life easier!</description>
		<content:encoded><![CDATA[<p>DenyHosts is a nice program that blocks IPs (add to hosts.deny) when # of login attempts occur. I enabled the PermitRootLogin because it makes my life easier!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Data Access Notes &#187; What You Ought To Know About Securing SSH</title>
		<link>http://ubuntu-tutorials.com/2007/02/14/what-you-ought-to-know-about-securing-ssh/#comment-910</link>
		<dc:creator>Data Access Notes &#187; What You Ought To Know About Securing SSH</dc:creator>
		<pubDate>Fri, 16 Feb 2007 16:16:28 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=272#comment-910</guid>
		<description>[...] details here: What You Ought To Know About Securing SSH [...]</description>
		<content:encoded><![CDATA[<p>[...] details here: What You Ought To Know About Securing SSH [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexandre Gauthier</title>
		<link>http://ubuntu-tutorials.com/2007/02/14/what-you-ought-to-know-about-securing-ssh/#comment-915</link>
		<dc:creator>Alexandre Gauthier</dc:creator>
		<pubDate>Fri, 16 Feb 2007 02:33:31 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=272#comment-915</guid>
		<description>All of this is good -- I think the port is sort of not necessary. Obscurity is never really something you should rely on first hand. It makes it unpractical.

Now, what I am surprised wasn&#039;t mentioned in the article was... don&#039;t use password logins? But Passphrase protected RSA public keys! Carry them with you on your USB stick if you must, too.</description>
		<content:encoded><![CDATA[<p>All of this is good &#8212; I think the port is sort of not necessary. Obscurity is never really something you should rely on first hand. It makes it unpractical.</p>
<p>Now, what I am surprised wasn&#8217;t mentioned in the article was&#8230; don&#8217;t use password logins? But Passphrase protected RSA public keys! Carry them with you on your USB stick if you must, too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin</title>
		<link>http://ubuntu-tutorials.com/2007/02/14/what-you-ought-to-know-about-securing-ssh/#comment-914</link>
		<dc:creator>Justin</dc:creator>
		<pubDate>Fri, 16 Feb 2007 00:28:39 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=272#comment-914</guid>
		<description>Aaron is exactly right.

In the real world, you will almost never get scanned on every port.  Which would you rather do as an attacker, scan 65000 machines on port 22, or scan one host on 65000 ports?

If your goal is top stop annoying brute force scans and 0day attacks, changing the ssh port is the single most effective thing you could do.  If your goal is to stop specific directed attacks, then you sure as hell should be employing EVERY single method you can think of.

Disabling password auth and some other methods aren&#039;t going to help you if there is a 0day vulnerability.  Changing the port will.

Personally, I only allow ssh conections from trusted networks.  When that isn&#039;t possible, I run ssh on a random port.</description>
		<content:encoded><![CDATA[<p>Aaron is exactly right.</p>
<p>In the real world, you will almost never get scanned on every port.  Which would you rather do as an attacker, scan 65000 machines on port 22, or scan one host on 65000 ports?</p>
<p>If your goal is top stop annoying brute force scans and 0day attacks, changing the ssh port is the single most effective thing you could do.  If your goal is to stop specific directed attacks, then you sure as hell should be employing EVERY single method you can think of.</p>
<p>Disabling password auth and some other methods aren&#8217;t going to help you if there is a 0day vulnerability.  Changing the port will.</p>
<p>Personally, I only allow ssh conections from trusted networks.  When that isn&#8217;t possible, I run ssh on a random port.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron</title>
		<link>http://ubuntu-tutorials.com/2007/02/14/what-you-ought-to-know-about-securing-ssh/#comment-913</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Thu, 15 Feb 2007 22:02:47 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=272#comment-913</guid>
		<description>It is sad to see that so many people here do not recognize that changing the default port on your SSH server DOES increase security.  Let&#039;s take a walk down Reality Lane, shall we?

First, check the logs.  Nothing is more informative.  Keeping SSH on the default port allows script kiddies across the planet chances to control your box.  As such, everything is in the logs.

Second, recognize that 99% of attacks on SSH are automated.  There is no human pilot behind these attacks.  They are scripts running on zombie machines.  And, these attacks are looking at the default port for SSH.  Nothing more.

Third, realize that changing your port GREATLY REDUCES the attacks.  Check the logs for verification after the change.  Notice a difference?  It&#039;s because the attacks are no longer effective, as they are still working on your de

As such, even though crackers have tools to scan ports, and find the port you are using for SSH access, the fact of the matter is, it&#039;s just not happening.  As such, you have just increased the security of your server my moving the port number.

It&#039;s not a false sense of security at all.  Sit on port 22, and take the attacks, or move the port, and reduce the number of attacks 99.99%.  The ball is in your court.</description>
		<content:encoded><![CDATA[<p>It is sad to see that so many people here do not recognize that changing the default port on your SSH server DOES increase security.  Let&#8217;s take a walk down Reality Lane, shall we?</p>
<p>First, check the logs.  Nothing is more informative.  Keeping SSH on the default port allows script kiddies across the planet chances to control your box.  As such, everything is in the logs.</p>
<p>Second, recognize that 99% of attacks on SSH are automated.  There is no human pilot behind these attacks.  They are scripts running on zombie machines.  And, these attacks are looking at the default port for SSH.  Nothing more.</p>
<p>Third, realize that changing your port GREATLY REDUCES the attacks.  Check the logs for verification after the change.  Notice a difference?  It&#8217;s because the attacks are no longer effective, as they are still working on your de</p>
<p>As such, even though crackers have tools to scan ports, and find the port you are using for SSH access, the fact of the matter is, it&#8217;s just not happening.  As such, you have just increased the security of your server my moving the port number.</p>
<p>It&#8217;s not a false sense of security at all.  Sit on port 22, and take the attacks, or move the port, and reduce the number of attacks 99.99%.  The ball is in your court.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Schroeder</title>
		<link>http://ubuntu-tutorials.com/2007/02/14/what-you-ought-to-know-about-securing-ssh/#comment-912</link>
		<dc:creator>Jeff Schroeder</dc:creator>
		<pubDate>Thu, 15 Feb 2007 21:16:26 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=272#comment-912</guid>
		<description>(with my correct website this time)

Someone on planet Debian wrote a response to this post that is very noteworthy...
http://blog.drinsama.de/erich/en/linux/2007021502-false-sense-of-security

Couldn&#039;t agree with it more.</description>
		<content:encoded><![CDATA[<p>(with my correct website this time)</p>
<p>Someone on planet Debian wrote a response to this post that is very noteworthy&#8230;<br />
<a href="http://blog.drinsama.de/erich/en/linux/2007021502-false-sense-of-security" rel="nofollow">http://blog.drinsama.de/erich/en/linux/2007021502-false-sense-of-security</a></p>
<p>Couldn&#8217;t agree with it more.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gary Thornock</title>
		<link>http://ubuntu-tutorials.com/2007/02/14/what-you-ought-to-know-about-securing-ssh/#comment-911</link>
		<dc:creator>Gary Thornock</dc:creator>
		<pubDate>Thu, 15 Feb 2007 20:54:09 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=272#comment-911</guid>
		<description>Some of your suggestions -- not allowing root logins, for instance -- are good ones, and in fact they&#039;re implemented by default in many OpenSSH distributions.

Changing the port, by contrast, does nothing to increase security.  As someone already pointed out, an attacker can very quickly find SSH on whatever port you&#039;re using with nmap -sV.

I do recommend eliminating password authentication for SSH.  If you need to secure a machine and allow SSH access, require public key authentication.  You may also want to run some system like DenyHosts to block access after some number of failed login attempts.  (DenyHosts works by adding the offending IP address to /etc/hosts.deny.  I prefer to add it to a &quot;banned&quot; table in pf, but either method can be effective.)</description>
		<content:encoded><![CDATA[<p>Some of your suggestions &#8212; not allowing root logins, for instance &#8212; are good ones, and in fact they&#8217;re implemented by default in many OpenSSH distributions.</p>
<p>Changing the port, by contrast, does nothing to increase security.  As someone already pointed out, an attacker can very quickly find SSH on whatever port you&#8217;re using with nmap -sV.</p>
<p>I do recommend eliminating password authentication for SSH.  If you need to secure a machine and allow SSH access, require public key authentication.  You may also want to run some system like DenyHosts to block access after some number of failed login attempts.  (DenyHosts works by adding the offending IP address to /etc/hosts.deny.  I prefer to add it to a &#8220;banned&#8221; table in pf, but either method can be effective.)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: basic (User agent is rejected)
Database Caching 2/5 queries in 0.003 seconds using disk: basic
Object Caching 319/319 objects using disk: basic

Served from: ubuntu-tutorials.com @ 2012-05-24 01:29:23 -->
