<?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"
	>
<channel>
	<title>Comments on: HOWTO: Five steps to a more secure SSH</title>
	<atom:link href="http://thinkhole.org/wp/2006/10/30/five-steps-to-a-more-secure-ssh/feed/" rel="self" type="application/rss+xml" />
	<link>http://thinkhole.org/wp/2006/10/30/five-steps-to-a-more-secure-ssh/</link>
	<description>There should be one obvious way to do it.</description>
	<pubDate>Fri, 25 Jul 2008 03:53:42 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: renato gallo</title>
		<link>http://thinkhole.org/wp/2006/10/30/five-steps-to-a-more-secure-ssh/#comment-109400</link>
		<dc:creator>renato gallo</dc:creator>
		<pubDate>Thu, 25 Oct 2007 05:41:25 +0000</pubDate>
		<guid isPermaLink="false">http://thinkhole.org/wp/2006/10/30/five-steps-to-a-more-secure-ssh/#comment-109400</guid>
		<description>at my job they passed me a ppk file, now I need to import it in my gentoo machine.... howto ?</description>
		<content:encoded><![CDATA[<p>at my job they passed me a ppk file, now I need to import it in my gentoo machine&#8230;. howto ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Asrol</title>
		<link>http://thinkhole.org/wp/2006/10/30/five-steps-to-a-more-secure-ssh/#comment-94879</link>
		<dc:creator>Asrol</dc:creator>
		<pubDate>Fri, 31 Aug 2007 18:04:52 +0000</pubDate>
		<guid isPermaLink="false">http://thinkhole.org/wp/2006/10/30/five-steps-to-a-more-secure-ssh/#comment-94879</guid>
		<description>Question:

#  burkass Says:
August 24th, 2007 at 2:36 pm

by the way can i allow 1 ip address.

btw i just want only 192.168.0.1 to control my comp via ssh.
how can i do it ?

Answer:

User TCP Wrappers.

Command ;

vi /etc/hosts.deny
# add line
ALL:ALL


vi /etc/hosts.allow
# add line
sshd:192.168.0.1 

More --


Change the ssh default port from 22 port to others, such as port 2995 


cd /etc/ssh/
vi sshd_config
Find Port 22 and replace with;

Port 2995

Dont use root to login.

cd /etc/ssh/
vi sshd_config

Find PermitRootLogin and change to ;

PermitRootLogin no


after all,

killall -XUP xinetd
/etc/init.d/sshd restart



Hope its useful to others too

regards

thanks</description>
		<content:encoded><![CDATA[<p>Question:</p>
<p>#  burkass Says:<br />
August 24th, 2007 at 2:36 pm</p>
<p>by the way can i allow 1 ip address.</p>
<p>btw i just want only 192.168.0.1 to control my comp via ssh.<br />
how can i do it ?</p>
<p>Answer:</p>
<p>User TCP Wrappers.</p>
<p>Command ;</p>
<p>vi /etc/hosts.deny<br />
# add line<br />
ALL:ALL</p>
<p>vi /etc/hosts.allow<br />
# add line<br />
sshd:192.168.0.1 </p>
<p>More &#8211;</p>
<p>Change the ssh default port from 22 port to others, such as port 2995 </p>
<p>cd /etc/ssh/<br />
vi sshd_config<br />
Find Port 22 and replace with;</p>
<p>Port 2995</p>
<p>Dont use root to login.</p>
<p>cd /etc/ssh/<br />
vi sshd_config</p>
<p>Find PermitRootLogin and change to ;</p>
<p>PermitRootLogin no</p>
<p>after all,</p>
<p>killall -XUP xinetd<br />
/etc/init.d/sshd restart</p>
<p>Hope its useful to others too</p>
<p>regards</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: burkass</title>
		<link>http://thinkhole.org/wp/2006/10/30/five-steps-to-a-more-secure-ssh/#comment-92848</link>
		<dc:creator>burkass</dc:creator>
		<pubDate>Fri, 24 Aug 2007 19:36:01 +0000</pubDate>
		<guid isPermaLink="false">http://thinkhole.org/wp/2006/10/30/five-steps-to-a-more-secure-ssh/#comment-92848</guid>
		<description>by the way can i allow 1 ip address.

btw i just want only 192.168.0.1 to control my comp via ssh.
how can i do it ?</description>
		<content:encoded><![CDATA[<p>by the way can i allow 1 ip address.</p>
<p>btw i just want only 192.168.0.1 to control my comp via ssh.<br />
how can i do it ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Archer</title>
		<link>http://thinkhole.org/wp/2006/10/30/five-steps-to-a-more-secure-ssh/#comment-52510</link>
		<dc:creator>Tim Archer</dc:creator>
		<pubDate>Tue, 10 Apr 2007 00:15:17 +0000</pubDate>
		<guid isPermaLink="false">http://thinkhole.org/wp/2006/10/30/five-steps-to-a-more-secure-ssh/#comment-52510</guid>
		<description>I also have a small writeup on some minor changes I make to secure SSH (disable root login, change login grace time, change protocol, change port, etc)

My writeup is at:
&lt;a href="http://timarcher.com/?q=node/46" rel="nofollow"&gt;http://timarcher.com/?q=node/46&lt;/a&gt;

I hope it helps somebody!</description>
		<content:encoded><![CDATA[<p>I also have a small writeup on some minor changes I make to secure SSH (disable root login, change login grace time, change protocol, change port, etc)</p>
<p>My writeup is at:<br />
<a href="http://timarcher.com/?q=node/46" rel="nofollow">http://timarcher.com/?q=node/46</a></p>
<p>I hope it helps somebody!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rob</title>
		<link>http://thinkhole.org/wp/2006/10/30/five-steps-to-a-more-secure-ssh/#comment-12230</link>
		<dc:creator>rob</dc:creator>
		<pubDate>Thu, 02 Nov 2006 16:38:13 +0000</pubDate>
		<guid isPermaLink="false">http://thinkhole.org/wp/2006/10/30/five-steps-to-a-more-secure-ssh/#comment-12230</guid>
		<description>You should add a section on role-based keys: limiting what commands can be run by a given key.  It's great for role-based accounts such as for remote backup, and a good alternative to disabling root logins entirely.</description>
		<content:encoded><![CDATA[<p>You should add a section on role-based keys: limiting what commands can be run by a given key.  It&#8217;s great for role-based accounts such as for remote backup, and a good alternative to disabling root logins entirely.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mikep</title>
		<link>http://thinkhole.org/wp/2006/10/30/five-steps-to-a-more-secure-ssh/#comment-12158</link>
		<dc:creator>mikep</dc:creator>
		<pubDate>Thu, 02 Nov 2006 02:50:59 +0000</pubDate>
		<guid isPermaLink="false">http://thinkhole.org/wp/2006/10/30/five-steps-to-a-more-secure-ssh/#comment-12158</guid>
		<description>Re: alternate ports:

For unix/command line ssh, edit/create ~/.ssh/config and make a section that looks like:

host 192.168.1.3
        Port 8022
        Compression yes
        CompressionLevel 9

Plus whatever other config changes that are different for this host, then when you ssh to that IP (or hostname), it will automatically use port 8022 instead of the default 22.  You can also put your port forwards, different ciphers, etc, basically, whatever you can set in the system-wide ssh_config can be set here.</description>
		<content:encoded><![CDATA[<p>Re: alternate ports:</p>
<p>For unix/command line ssh, edit/create ~/.ssh/config and make a section that looks like:</p>
<p>host 192.168.1.3<br />
        Port 8022<br />
        Compression yes<br />
        CompressionLevel 9</p>
<p>Plus whatever other config changes that are different for this host, then when you ssh to that IP (or hostname), it will automatically use port 8022 instead of the default 22.  You can also put your port forwards, different ciphers, etc, basically, whatever you can set in the system-wide ssh_config can be set here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 5 Steps To Secure SSH at Information Technology Blog</title>
		<link>http://thinkhole.org/wp/2006/10/30/five-steps-to-a-more-secure-ssh/#comment-12122</link>
		<dc:creator>5 Steps To Secure SSH at Information Technology Blog</dc:creator>
		<pubDate>Wed, 01 Nov 2006 16:47:00 +0000</pubDate>
		<guid isPermaLink="false">http://thinkhole.org/wp/2006/10/30/five-steps-to-a-more-secure-ssh/#comment-12122</guid>
		<description>[...] Original Story: Link [...]</description>
		<content:encoded><![CDATA[<p>[...] Original Story: Link [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay</title>
		<link>http://thinkhole.org/wp/2006/10/30/five-steps-to-a-more-secure-ssh/#comment-12099</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Wed, 01 Nov 2006 14:03:36 +0000</pubDate>
		<guid isPermaLink="false">http://thinkhole.org/wp/2006/10/30/five-steps-to-a-more-secure-ssh/#comment-12099</guid>
		<description>I agree with Mark, you shouldn't be allowing connections from anywhere to your ssh port. It's trivial to do and is worth more to secure your system than most of these other suggestions combined.</description>
		<content:encoded><![CDATA[<p>I agree with Mark, you shouldn&#8217;t be allowing connections from anywhere to your ssh port. It&#8217;s trivial to do and is worth more to secure your system than most of these other suggestions combined.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://thinkhole.org/wp/2006/10/30/five-steps-to-a-more-secure-ssh/#comment-12060</link>
		<dc:creator>John</dc:creator>
		<pubDate>Wed, 01 Nov 2006 04:13:31 +0000</pubDate>
		<guid isPermaLink="false">http://thinkhole.org/wp/2006/10/30/five-steps-to-a-more-secure-ssh/#comment-12060</guid>
		<description>@Swoosh:

I believe that's basically what &lt;a href="http://www.hexten.net/pam_abl/" rel="nofollow" rel="nofollow" rel="nofollow" rel="nofollow"&gt;pam_abl&lt;/a&gt; does, and is certainly a good alternative to DenyHosts if you are looking for one. (And if you don't mind missing out on DenyHosts' synchronization abilities.)

- John</description>
		<content:encoded><![CDATA[<p>@Swoosh:</p>
<p>I believe that&#8217;s basically what <a href="http://www.hexten.net/pam_abl/" rel="nofollow" rel="nofollow" rel="nofollow" rel="nofollow">pam_abl</a> does, and is certainly a good alternative to DenyHosts if you are looking for one. (And if you don&#8217;t mind missing out on DenyHosts&#8217; synchronization abilities.)</p>
<p>- John</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Swoosh</title>
		<link>http://thinkhole.org/wp/2006/10/30/five-steps-to-a-more-secure-ssh/#comment-12054</link>
		<dc:creator>Swoosh</dc:creator>
		<pubDate>Wed, 01 Nov 2006 02:31:02 +0000</pubDate>
		<guid isPermaLink="false">http://thinkhole.org/wp/2006/10/30/five-steps-to-a-more-secure-ssh/#comment-12054</guid>
		<description>Another good thing to look into (for securiing SSH over Linux) is PAM. Its pratical use would be to block a host after 4 unsucessfull login attempts, and then keep it blocked untill you physically unblock them (or set up a cron.hourly scripit to do it every hour)</description>
		<content:encoded><![CDATA[<p>Another good thing to look into (for securiing SSH over Linux) is PAM. Its pratical use would be to block a host after 4 unsucessfull login attempts, and then keep it blocked untill you physically unblock them (or set up a cron.hourly scripit to do it every hour)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
