 




<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Open Source Software and Linux &#187; ssh</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/linux-lotus-domino/tag/ssh/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/linux-lotus-domino</link>
	<description></description>
	<lastBuildDate>Thu, 02 May 2013 21:07:56 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Protect your ssh server with DenyHosts</title>
		<link>http://itknowledgeexchange.techtarget.com/linux-lotus-domino/protect-your-ssh-server-with-denyhosts/</link>
		<comments>http://itknowledgeexchange.techtarget.com/linux-lotus-domino/protect-your-ssh-server-with-denyhosts/#comments</comments>
		<pubDate>Thu, 26 Mar 2009 00:18:07 +0000</pubDate>
		<dc:creator>Xjlittle</dc:creator>
				<category><![CDATA[denyhosts]]></category>
		<category><![CDATA[secure]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[SSHD]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/linux-lotus-domino/protect-your-ssh-server-with-denyhosts/</guid>
		<description><![CDATA[If you have an SSH server that is accessible from the internet then you should look at the DenyHosts application to protect your servers and networks. DenyHosts protects your servers by parsing your ssh log for failed attempts at ssh login. The log where this is recorded varies by distribution. On Red Hat it is [...]]]></description>
				<content:encoded><![CDATA[<p>If you have an SSH server that is accessible from the internet then you should look at the DenyHosts application to protect your servers and networks.</p>
<p>DenyHosts protects your servers by parsing your ssh log for failed attempts at ssh login.  The log where this is recorded varies by distribution.  On Red Hat it is /var/log/secure and /var/log/auth.log on Mandrake.  You should have one of these log files on your system</p>
<p>DenyHosts works by monitoring these logs for failed ssh login attempts.  It also tracks which user accounts are targeted.  When it finds a repeated failures from the same IP address it inserts these into your /etc/hosts.deny file effectively blocking the offending crackers.</p>
<p>Like any security measure this one can be shored up by implementing complementary measures.  These would include disallowing root logins, using a port number other than 22 and disabling password logins.  All of these can be set in your /etc/ssh/sshd_config file.  Your ssh daemon must be restarted after making these changes.</p>
<p>You can download DenyHosts <a href="http://denyhosts.sourceforge.net/">here</a>.<br />
-j</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/linux-lotus-domino/protect-your-ssh-server-with-denyhosts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How secure is your network? (Part 1)</title>
		<link>http://itknowledgeexchange.techtarget.com/linux-lotus-domino/how-secure-is-your-network/</link>
		<comments>http://itknowledgeexchange.techtarget.com/linux-lotus-domino/how-secure-is-your-network/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 18:47:44 +0000</pubDate>
		<dc:creator>Xjlittle</dc:creator>
				<category><![CDATA[crackers]]></category>
		<category><![CDATA[Firewalls]]></category>
		<category><![CDATA[hackers]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/linux-lotus-domino/?p=157</guid>
		<description><![CDATA[After reading this article I began to wonder how secure my home network really is. After giving the article much thought I concluded that my home network is probably not as secure as I would want. Sure it&#8217;s secure, probably above and beyond most home networks. I use iptables as my firewall. Connections from the [...]]]></description>
				<content:encoded><![CDATA[<p>After reading <a href="http://tech.yahoo.com/blogs/null/120939">this</a> article I began to wonder how secure my home network really is.  After giving the article much thought I concluded that my home network is probably not as secure as I would want.</p>
<p>Sure it&#8217;s secure, probably above and beyond most home networks.  I use iptables as my firewall.  Connections from the internet are directed to a particular machine based on the inbound port.  SSH connections from the outside are directed to one machine so that you must be able to get to that machine to reach the rest of the network.  My web server uses standard apache security.  Seems reasonably secure for a home network.  Maybe.</p>
<p>After all I&#8217;m not a millionaire.  I don&#8217;t have other people&#8217;s confidential information on my network.  I&#8217;m not the FAA or a bank.  No one in their right mind would try and extort money from me based on the information contained on my network.  Besides, what little I could give them wouldn&#8217;t make it worth their time.  However these justifications just don&#8217;t give me a warm and fuzzy feeling inside.</p>
<p>Crackers don&#8217;t necessarily just want those things.  Sometimes it is just vandalism by tearing up someone&#8217;s machine.  Or they may want to use a machine to setup a DOS attack.  It could be that they want to use the mail server as a mail relay for spam.  Whatever it is I don&#8217;t want to have to take the time to clean up after them.  After all if they can break into the networks listed in the article it would seem rather arrogant of me to think that they couldn&#8217;t break into mine.</p>
<p>The question then becomes what to do to make it more secure.  Below I&#8217;ve created a scope sheet of sorts of work that needs to be done.</p>
<p>1.  Disallow ssh root logins<br />
2.  Disallow su to root except for certain users<br />
3.  Disallow internal ssh logins to any machine on the network.  These logins must come from the &#8220;jump&#8221; machine</p>
<p>What else can I do?  I&#8217;ll give that some thought.  If you have suggestions post them in the comments.  It is always interesting to hear how other people secure their networks above and beyond the norms.</p>
<p>In my next post I&#8217;ll describe the changes that I&#8217;ve made based on the scope of work above.</p>
<p>-j</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/linux-lotus-domino/how-secure-is-your-network/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntuserver is unbelievably stupid</title>
		<link>http://itknowledgeexchange.techtarget.com/linux-lotus-domino/ubuntuserver-is-unbelievably-stupid/</link>
		<comments>http://itknowledgeexchange.techtarget.com/linux-lotus-domino/ubuntuserver-is-unbelievably-stupid/#comments</comments>
		<pubDate>Mon, 01 Sep 2008 21:34:50 +0000</pubDate>
		<dc:creator>Xjlittle</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[gui]]></category>
		<category><![CDATA[headless]]></category>
		<category><![CDATA[inittab]]></category>
		<category><![CDATA[lilo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntuserver]]></category>
		<category><![CDATA[ubuntuserver upgrade]]></category>
		<category><![CDATA[zimbra]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/linux-lotus-domino/ubuntuserver-is-unbelievably-stupid/</guid>
		<description><![CDATA[Yes you read the title right. Ubunutserver is unbelievably stupid. Ok let&#8217;s take it from the top. I had Ubuntuserver 7.0.4 installed as my WebDAV secure server, my son&#8217;s baseball team&#8217;s website, samba and so on. I run this server headless and without a gui. Note here that the normal install is without a gui [...]]]></description>
				<content:encoded><![CDATA[<p>Yes you read the title right.  Ubunutserver is unbelievably stupid.</p>
<p>Ok let&#8217;s take it from the top.  I had Ubuntuserver 7.0.4 installed as my WebDAV secure server, my son&#8217;s baseball team&#8217;s website, samba and so on.  I run this server headless and without a gui.  Note here that the normal install is without a gui and is touted loudly by the folks who develop ubuntuserver.  This is all well and good.</p>
<p>Lately it&#8217;s been on my mind  to look into and install a collaboration suite.  Having searched around I finally landed on <a href="http://www.zimbra.com">Zimbra</a>.  </p>
<p>After reading the documentation I see that Zimbra is certified on Ubuntu 8.04 LTS.  Ok, well this is as good of a time to upgrade as any.  This is where the fun (read stupidity) begins.</p>
<p>I ssh into my server as normal.  I do all of the pre-distribution upgrade stuff, reboot and begin the distribution upgrade.  The first thing I get is a message saying something to the effect of &#8220;We do not recommend using SSH while you upgrade.  If  you lose a connection it is difficult to recover.&#8221;  Ok.  I&#8217;m not doing this over a WAN link but on my local LAN.  I haven&#8217;t had any network outages since I don&#8217;t know when, the sun is shining so no power outages looming.  Things are looking good.</p>
<p>The upgrade proceeds smoothly.  On several occasions I am asked if I want to replace any of my configuration files.  This include the sshd configuration file.  On all of these I take the default which is &#8220;Do not replace, I want to keep the configuration file that I am currently using&#8221; .  That&#8217;s paraphrased but that is what it meant.</p>
<p>The distribution upgrade finishes.  I get a nice message saying everything went well and asking me if I want to reboot.  Of course I do.  I type y and off we go.  After waiting the appropriate amount of time I try to SSH back in.  I am pretty excited at this point about getting my Zimbra install started.</p>
<p>Uhoh.  No such luck.  The dreaded &#8220;ssh: connect to host 10.10.15.105 port 22: Connection refused&#8221; message.  What?!?  Are you kidding me?  No way.  I try pinging the server.  Yep, network came back ok.  I try again.  Nope.  And several times after that.  Now I&#8217;m writing this rant.</p>
<p>You see, here is why I think this is stupid.  The server installs without a gui.  That implies that no one is going to use this for a workstation.  If no one is going to use it for a workstation, why then, should it have a monitor on it?  If it doesn&#8217;t have a monitor on it, why would you not want someone to upgrade using SSH?  Would the Ubuntuserver people prefer telnet instead?  If the upgrade process is smart enough to know that you are upgrading over SSH then why not start SSHD on the reboot?  If that is in fact the problem since I haven&#8217;t dragged a monitor over there to see.</p>
<p>I made a decision not long ago not to scrap my Ubuntuserver in favor of <a href="http://centos.org/">CentOS</a>.  I am starting to regret that decision.  You see there is at least one other annoyance with Ubuntusever that I don&#8217;t find appealing either.  This is the fact that they have decided that using an inittab is old fashioned or something.  While this doesn&#8217;t have much affect on a server, at least one not running a gui, have you tried to boot into runlevel 3 lately?  It&#8217;s not nearly as easy as it is with a GRUB boot loader where you can edit it, type in 3, hit enter and b and boot to runlevel 3.</p>
<p>Ok, I&#8217;m done.  Next free time that I have I&#8217;m putting CentOS on there (as soon as I drag a monitor to the server and get SSHD started that is).</p>
<p>-j</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/linux-lotus-domino/ubuntuserver-is-unbelievably-stupid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
