<?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: Security Tip: Disable Root SSH Login on Linux</title>
	<atom:link href="http://www.howtogeek.com/howto/linux/security-tip-disable-root-ssh-login-on-linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.howtogeek.com/howto/linux/security-tip-disable-root-ssh-login-on-linux/</link>
	<description>Computer Help from your Friendly How-To Geek</description>
	<lastBuildDate>Sun, 08 Nov 2009 07:56:33 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: abhi</title>
		<link>http://www.howtogeek.com/howto/linux/security-tip-disable-root-ssh-login-on-linux/comment-page-1/#comment-76756</link>
		<dc:creator>abhi</dc:creator>
		<pubDate>Thu, 17 Sep 2009 09:40:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/linux/security-tip-disable-root-ssh-login-on-linux/#comment-76756</guid>
		<description>Ofcourse even better is to completely disable password authentication and move over to a public key way of authentication.</description>
		<content:encoded><![CDATA[<p>Ofcourse even better is to completely disable password authentication and move over to a public key way of authentication.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: abhi</title>
		<link>http://www.howtogeek.com/howto/linux/security-tip-disable-root-ssh-login-on-linux/comment-page-1/#comment-76755</link>
		<dc:creator>abhi</dc:creator>
		<pubDate>Thu, 17 Sep 2009 09:40:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/linux/security-tip-disable-root-ssh-login-on-linux/#comment-76755</guid>
		<description>Can we not restrict based on mac addresses for those on the road? or with dynamic IPs?</description>
		<content:encoded><![CDATA[<p>Can we not restrict based on mac addresses for those on the road? or with dynamic IPs?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yendee</title>
		<link>http://www.howtogeek.com/howto/linux/security-tip-disable-root-ssh-login-on-linux/comment-page-1/#comment-74152</link>
		<dc:creator>yendee</dc:creator>
		<pubDate>Thu, 09 Jul 2009 09:25:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/linux/security-tip-disable-root-ssh-login-on-linux/#comment-74152</guid>
		<description>#vi /etc/ssh/sshd_config
....
PermitRootLogin no
....
DenyUsers oracle

-----------
and restart service
for solaris10
#svcadm restart ssh

or solaris9
#/etc/init.d/sshd restart 

http://it-howtodo.blogspot.com/2009/06/how-to-disable-users-for-ssh.html</description>
		<content:encoded><![CDATA[<p>#vi /etc/ssh/sshd_config<br />
&#8230;.<br />
PermitRootLogin no<br />
&#8230;.<br />
DenyUsers oracle</p>
<p>&#8212;&#8212;&#8212;&#8211;<br />
and restart service<br />
for solaris10<br />
#svcadm restart ssh</p>
<p>or solaris9<br />
#/etc/init.d/sshd restart </p>
<p><a href="http://it-howtodo.blogspot.com/2009/06/how-to-disable-users-for-ssh.html" rel="nofollow">http://it-howtodo.blogspot.com.....r-ssh.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Warnock</title>
		<link>http://www.howtogeek.com/howto/linux/security-tip-disable-root-ssh-login-on-linux/comment-page-1/#comment-69136</link>
		<dc:creator>Matt Warnock</dc:creator>
		<pubDate>Tue, 24 Mar 2009 00:41:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/linux/security-tip-disable-root-ssh-login-on-linux/#comment-69136</guid>
		<description>Great comments.  I can&#039;t really use the IP restrictions myself, as I am often on the road, and need access from a hotel, internet cafe, or other unpredictable access point.  My best friend is the &quot;denyhosts&quot; package, which allows 3 attempts (configurable) at a password, then shuts down the offending source IP for some period like a week.  That shuts down brute force attacks pretty fast.</description>
		<content:encoded><![CDATA[<p>Great comments.  I can&#8217;t really use the IP restrictions myself, as I am often on the road, and need access from a hotel, internet cafe, or other unpredictable access point.  My best friend is the &#8220;denyhosts&#8221; package, which allows 3 attempts (configurable) at a password, then shuts down the offending source IP for some period like a week.  That shuts down brute force attacks pretty fast.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Casserly</title>
		<link>http://www.howtogeek.com/howto/linux/security-tip-disable-root-ssh-login-on-linux/comment-page-1/#comment-67253</link>
		<dc:creator>Dave Casserly</dc:creator>
		<pubDate>Thu, 19 Feb 2009 23:41:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/linux/security-tip-disable-root-ssh-login-on-linux/#comment-67253</guid>
		<description>You could add the line

sshd: ALL

to /etc/hosts.deny file and then explicity add the ips i want to allow to /etc/hosts.allow

Although this is only useful for those who have static ip and maybe not recommended if you only have 1 ip you can connect from that is provided to you by your isp for example.</description>
		<content:encoded><![CDATA[<p>You could add the line</p>
<p>sshd: ALL</p>
<p>to /etc/hosts.deny file and then explicity add the ips i want to allow to /etc/hosts.allow</p>
<p>Although this is only useful for those who have static ip and maybe not recommended if you only have 1 ip you can connect from that is provided to you by your isp for example.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TDI</title>
		<link>http://www.howtogeek.com/howto/linux/security-tip-disable-root-ssh-login-on-linux/comment-page-1/#comment-62383</link>
		<dc:creator>TDI</dc:creator>
		<pubDate>Wed, 03 Dec 2008 10:51:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/linux/security-tip-disable-root-ssh-login-on-linux/#comment-62383</guid>
		<description>Damn skippy! I love this trick. Although, I like to pretend I&#039;m really paranoid and also do the following:

Assign a dedicated IP to SSH via /etc/ssh/sshd_config
-this IP is to be used ONLY by SSH

Assign a dedicated PORT to SSH via /etc/ssh/sshd_config
-this PORT should only be used by SSH

And of course, set up a firewall to block IPs that conduct port scans.

Now a hacker must....
1) know the IP
2) know the PORT
3) know the login
4) brute force the login pass
5) brute force the root pass

I&#039;d imagine (correct me if I&#039;m wrong) that a hacker will give up before even getting to the login prompt... (or be blocked well before then)</description>
		<content:encoded><![CDATA[<p>Damn skippy! I love this trick. Although, I like to pretend I&#8217;m really paranoid and also do the following:</p>
<p>Assign a dedicated IP to SSH via /etc/ssh/sshd_config<br />
-this IP is to be used ONLY by SSH</p>
<p>Assign a dedicated PORT to SSH via /etc/ssh/sshd_config<br />
-this PORT should only be used by SSH</p>
<p>And of course, set up a firewall to block IPs that conduct port scans.</p>
<p>Now a hacker must&#8230;.<br />
1) know the IP<br />
2) know the PORT<br />
3) know the login<br />
4) brute force the login pass<br />
5) brute force the root pass</p>
<p>I&#8217;d imagine (correct me if I&#8217;m wrong) that a hacker will give up before even getting to the login prompt&#8230; (or be blocked well before then)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xaethos</title>
		<link>http://www.howtogeek.com/howto/linux/security-tip-disable-root-ssh-login-on-linux/comment-page-1/#comment-57767</link>
		<dc:creator>xaethos</dc:creator>
		<pubDate>Tue, 16 Sep 2008 10:42:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/linux/security-tip-disable-root-ssh-login-on-linux/#comment-57767</guid>
		<description>Also, sudo can be easily set to a different password, or to tighter restrictions than full root.  Then the attacker would have to brute-force two different passwords.</description>
		<content:encoded><![CDATA[<p>Also, sudo can be easily set to a different password, or to tighter restrictions than full root.  Then the attacker would have to brute-force two different passwords.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dean</title>
		<link>http://www.howtogeek.com/howto/linux/security-tip-disable-root-ssh-login-on-linux/comment-page-1/#comment-57039</link>
		<dc:creator>Dean</dc:creator>
		<pubDate>Wed, 03 Sep 2008 07:35:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/linux/security-tip-disable-root-ssh-login-on-linux/#comment-57039</guid>
		<description>trashman, it is more secure to use a different login name over SSH because the hacker has to first guess the login name AND then the password of that login.

Whereas, if root is enabled over SSH, the hacker knows the login and only needs to guess the password.</description>
		<content:encoded><![CDATA[<p>trashman, it is more secure to use a different login name over SSH because the hacker has to first guess the login name AND then the password of that login.</p>
<p>Whereas, if root is enabled over SSH, the hacker knows the login and only needs to guess the password.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trashman</title>
		<link>http://www.howtogeek.com/howto/linux/security-tip-disable-root-ssh-login-on-linux/comment-page-1/#comment-54906</link>
		<dc:creator>Trashman</dc:creator>
		<pubDate>Sat, 02 Aug 2008 01:30:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/linux/security-tip-disable-root-ssh-login-on-linux/#comment-54906</guid>
		<description>Ok, help me out here. How is it &quot;insecure&quot; to allow root login over ssh, but &quot;secure&quot; to allow a user with &#039;su&#039; or &#039;sudo&#039; access login over ssh. If a &quot;hacker&quot; discovers (by brute force, phishing, or whatever) the user&#039;s password with su, or sudo she can do just as much damage as if she found the root password by the same means and logged directly in.</description>
		<content:encoded><![CDATA[<p>Ok, help me out here. How is it &#8220;insecure&#8221; to allow root login over ssh, but &#8220;secure&#8221; to allow a user with &#8217;su&#8217; or &#8217;sudo&#8217; access login over ssh. If a &#8220;hacker&#8221; discovers (by brute force, phishing, or whatever) the user&#8217;s password with su, or sudo she can do just as much damage as if she found the root password by the same means and logged directly in.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Geek</title>
		<link>http://www.howtogeek.com/howto/linux/security-tip-disable-root-ssh-login-on-linux/comment-page-1/#comment-24011</link>
		<dc:creator>The Geek</dc:creator>
		<pubDate>Fri, 05 Oct 2007 13:55:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/linux/security-tip-disable-root-ssh-login-on-linux/#comment-24011</guid>
		<description>Great followup tip!

Always love it when the readers add really useful information.</description>
		<content:encoded><![CDATA[<p>Great followup tip!</p>
<p>Always love it when the readers add really useful information.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
