<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Basic SSH server hardening</title>
	<atom:link href="http://blog.infosanity.co.uk/2010/07/24/basic-ssh-server-hardening/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.infosanity.co.uk/2010/07/24/basic-ssh-server-hardening/</link>
	<description>Offensive and Defensive IT Security</description>
	<lastBuildDate>Thu, 02 Feb 2012 15:40:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Andrew Waite</title>
		<link>http://blog.infosanity.co.uk/2010/07/24/basic-ssh-server-hardening/#comment-874</link>
		<dc:creator><![CDATA[Andrew Waite]]></dc:creator>
		<pubDate>Sun, 10 Jul 2011 08:59:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.infosanity.co.uk/?p=682#comment-874</guid>
		<description><![CDATA[That&#039;s a good point, always make suer you&#039;ve got multiple points into your server in case something changes. In my standard setup I&#039;ll allow multiple source locations (home/work/etc.).  Don&#039;t forget you can (usually) fall back on physical console access as a last resort.]]></description>
		<content:encoded><![CDATA[<p>That&#8217;s a good point, always make suer you&#8217;ve got multiple points into your server in case something changes. In my standard setup I&#8217;ll allow multiple source locations (home/work/etc.).  Don&#8217;t forget you can (usually) fall back on physical console access as a last resort.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Server Hardening</title>
		<link>http://blog.infosanity.co.uk/2010/07/24/basic-ssh-server-hardening/#comment-873</link>
		<dc:creator><![CDATA[Server Hardening]]></dc:creator>
		<pubDate>Sun, 10 Jul 2011 05:45:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.infosanity.co.uk/?p=682#comment-873</guid>
		<description><![CDATA[These are very good tips.  If only admins need to login, to get around the issue of having an IP lockdown and then your ISP changes your IP, you could either lockdown the IP to your ISPs local network or better yet have a very cheap VM on standby with a static IP and with access for that IP to your server.  This way if your IP all of a sudden changes and you&#039;re locked out all you need to do is daisy chain via your cheap VM&#039;s IP, login and then update your dynamic IP.]]></description>
		<content:encoded><![CDATA[<p>These are very good tips.  If only admins need to login, to get around the issue of having an IP lockdown and then your ISP changes your IP, you could either lockdown the IP to your ISPs local network or better yet have a very cheap VM on standby with a static IP and with access for that IP to your server.  This way if your IP all of a sudden changes and you&#8217;re locked out all you need to do is daisy chain via your cheap VM&#8217;s IP, login and then update your dynamic IP.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SSH Tunnelling Example &#171; Infosanity&#039;s Blog</title>
		<link>http://blog.infosanity.co.uk/2010/07/24/basic-ssh-server-hardening/#comment-830</link>
		<dc:creator><![CDATA[SSH Tunnelling Example &#171; Infosanity&#039;s Blog]]></dc:creator>
		<pubDate>Mon, 09 May 2011 08:26:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.infosanity.co.uk/?p=682#comment-830</guid>
		<description><![CDATA[[...] (and hopefully secured well enough to keep the barbarians from the door, but that&#8217;s for different [...]]]></description>
		<content:encoded><![CDATA[<p>[...] (and hopefully secured well enough to keep the barbarians from the door, but that&#8217;s for different [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 2010: A Review &#171; Infosanity&#039;s Blog</title>
		<link>http://blog.infosanity.co.uk/2010/07/24/basic-ssh-server-hardening/#comment-727</link>
		<dc:creator><![CDATA[2010: A Review &#171; Infosanity&#039;s Blog]]></dc:creator>
		<pubDate>Fri, 31 Dec 2010 14:03:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.infosanity.co.uk/?p=682#comment-727</guid>
		<description><![CDATA[[...] grow and mature over the year InfoSanity tried a few different themes and topics, some worked, like basic ssh hardening guidelines (potentially more to come in new year) and some didn&#8217;t, like the &#8216;Infosec [...]]]></description>
		<content:encoded><![CDATA[<p>[...] grow and mature over the year InfoSanity tried a few different themes and topics, some worked, like basic ssh hardening guidelines (potentially more to come in new year) and some didn&#8217;t, like the &#8216;Infosec [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SSH hardening with Breakinguard &#171; Infosanity&#039;s Blog</title>
		<link>http://blog.infosanity.co.uk/2010/07/24/basic-ssh-server-hardening/#comment-590</link>
		<dc:creator><![CDATA[SSH hardening with Breakinguard &#171; Infosanity&#039;s Blog]]></dc:creator>
		<pubDate>Thu, 21 Oct 2010 20:13:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.infosanity.co.uk/?p=682#comment-590</guid>
		<description><![CDATA[[...] sensors have shown, attacks against SSH services are regularly seen in the wild. Even if you follow best practices for securing the service, the malicious scans will utilise resources available to your environment; [...]]]></description>
		<content:encoded><![CDATA[<p>[...] sensors have shown, attacks against SSH services are regularly seen in the wild. Even if you follow best practices for securing the service, the malicious scans will utilise resources available to your environment; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://blog.infosanity.co.uk/2010/07/24/basic-ssh-server-hardening/#comment-529</link>
		<dc:creator><![CDATA[Daniel]]></dc:creator>
		<pubDate>Fri, 30 Jul 2010 01:12:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.infosanity.co.uk/?p=682#comment-529</guid>
		<description><![CDATA[I love vectors like these when pen-testing networks. I think root access to SSH, standard port and allow any IP to connect are wonderful for me! Bad for the Network Admins. 

Very good report Andrew. I think these are some great starting points, even if its not a fully secure SSH server, changes like these cut down the amount of people that can pull off an attack.

Dan]]></description>
		<content:encoded><![CDATA[<p>I love vectors like these when pen-testing networks. I think root access to SSH, standard port and allow any IP to connect are wonderful for me! Bad for the Network Admins. </p>
<p>Very good report Andrew. I think these are some great starting points, even if its not a fully secure SSH server, changes like these cut down the amount of people that can pull off an attack.</p>
<p>Dan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mig5</title>
		<link>http://blog.infosanity.co.uk/2010/07/24/basic-ssh-server-hardening/#comment-520</link>
		<dc:creator><![CDATA[mig5]]></dc:creator>
		<pubDate>Sat, 24 Jul 2010 12:07:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.infosanity.co.uk/?p=682#comment-520</guid>
		<description><![CDATA[True that - I realised afterwards it may not be considered &#039;basic&#039; - on the other hand, even before making any firewall changes, setting up an ssh keypair and switching to key-based only, could often be enough (arguably harder to spoof a private key than an IP!) and from experience, the afternoon of pain sending a tutorial around to your users and getting them to email you back their public keys, is well worth the effort when securing server you can&#039;t totally firewall off :)

Sorry for the trigger-happy spam comment :)]]></description>
		<content:encoded><![CDATA[<p>True that &#8211; I realised afterwards it may not be considered &#8216;basic&#8217; &#8211; on the other hand, even before making any firewall changes, setting up an ssh keypair and switching to key-based only, could often be enough (arguably harder to spoof a private key than an IP!) and from experience, the afternoon of pain sending a tutorial around to your users and getting them to email you back their public keys, is well worth the effort when securing server you can&#8217;t totally firewall off <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Sorry for the trigger-happy spam comment <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Waite</title>
		<link>http://blog.infosanity.co.uk/2010/07/24/basic-ssh-server-hardening/#comment-519</link>
		<dc:creator><![CDATA[Andrew Waite]]></dc:creator>
		<pubDate>Sat, 24 Jul 2010 11:58:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.infosanity.co.uk/?p=682#comment-519</guid>
		<description><![CDATA[WOW! That was quick off the mark ;)

Yeah, totally agree that key based authentication is the way forward. But I wouldn&#039;t include it under &#039;basic&#039; as it requires a shift in how a user accesses the system from the standard and understand username and password. Not a problem on a single user system, but if a large number of users need shell access then blindly implementing key only authentication is a sure fire way to cause your helpdesk to explode.

To paraphrase Tom, &#039;I don&#039;t want a bunch of emails saying &quot;I got in trouble because I did what InfoSanity said...&quot;)&#039;]]></description>
		<content:encoded><![CDATA[<p>WOW! That was quick off the mark <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Yeah, totally agree that key based authentication is the way forward. But I wouldn&#8217;t include it under &#8216;basic&#8217; as it requires a shift in how a user accesses the system from the standard and understand username and password. Not a problem on a single user system, but if a large number of users need shell access then blindly implementing key only authentication is a sure fire way to cause your helpdesk to explode.</p>
<p>To paraphrase Tom, &#8216;I don&#8217;t want a bunch of emails saying &#8220;I got in trouble because I did what InfoSanity said&#8230;&#8221;)&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mig5</title>
		<link>http://blog.infosanity.co.uk/2010/07/24/basic-ssh-server-hardening/#comment-518</link>
		<dc:creator><![CDATA[mig5]]></dc:creator>
		<pubDate>Sat, 24 Jul 2010 11:50:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.infosanity.co.uk/?p=682#comment-518</guid>
		<description><![CDATA[Consider also disallowing Password authentication and using only key-based authentication in ssh (especially if you are unable to lock things down by IP, for instance if your ssh users are restricted to dynamic source IPs)

On most modern distributions, key-based auth is already enabled by default, so you may only need to set in /etc/ssh/sshd_config

&lt;code&gt;
PasswordAuthentication no
&lt;/code&gt;

Also, &lt;a href=&quot;http://isc.sans.edu/diary.html?storyid=9034&amp;rss&quot; rel=&quot;nofollow&quot;&gt;a recent spate of ssh attacks&lt;/a&gt; have taken advantage of keyboard-interactive authentication. Again, most modern Linux distros set this by default, but ensure this is on your config

&lt;code&gt;
ChallengeResponseAuthentication no
&lt;/code&gt;]]></description>
		<content:encoded><![CDATA[<p>Consider also disallowing Password authentication and using only key-based authentication in ssh (especially if you are unable to lock things down by IP, for instance if your ssh users are restricted to dynamic source IPs)</p>
<p>On most modern distributions, key-based auth is already enabled by default, so you may only need to set in /etc/ssh/sshd_config</p>
<p><code><br />
PasswordAuthentication no<br />
</code></p>
<p>Also, <a href="http://isc.sans.edu/diary.html?storyid=9034&amp;rss" rel="nofollow">a recent spate of ssh attacks</a> have taken advantage of keyboard-interactive authentication. Again, most modern Linux distros set this by default, but ensure this is on your config</p>
<p><code><br />
ChallengeResponseAuthentication no<br />
</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>

