<?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>scienceoss.com &#187; security</title>
	<atom:link href="http://scienceoss.com/tags/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://scienceoss.com</link>
	<description>useful tidbits for using open source software in science</description>
	<lastBuildDate>Wed, 26 May 2010 03:34:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>A more secure SSH configuration</title>
		<link>http://scienceoss.com/a-more-secure-ssh-configuration/</link>
		<comments>http://scienceoss.com/a-more-secure-ssh-configuration/#comments</comments>
		<pubDate>Thu, 13 Mar 2008 03:25:49 +0000</pubDate>
		<dc:creator>ryan</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[utilities]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://scienceoss.com/a-more-secure-ssh-configuration/</guid>
		<description><![CDATA[Some easy ways to configure SSH to be a little more secure: Edit /etc/ssh/sshd_config as root. Change the port (default is 22) Change “PermitRootLogin yes” to “PermitRootLogin no” AddUser username save and quit restart the ssh server: sudo /etc/init.d/ssh restart More info here: http://ubuntu-tutorials.com/2007/02/14/what-you-ought-to-know-about-securing-ssh/]]></description>
			<content:encoded><![CDATA[<p>Some easy ways to configure SSH to be a little more secure:</p>
<p>Edit <span class="c">/etc/ssh/sshd_config</span> as root.</p>
<ul>
<li>Change the port (default is 22)</li>
<li>Change “PermitRootLogin yes” to “PermitRootLogin no”</li>
<li>AddUser username</li>
<li>save and quit</li>
<li>restart the ssh server: <span class="c">sudo /etc/init.d/ssh restart</span></li>
</ul>
<p>More info here:<br />
<a href="http://ubuntu-tutorials.com/2007/02/14/what-you-ought-to-know-about-securing-ssh/">http://ubuntu-tutorials.com/2007/02/14/what-you-ought-to-know-about-securing-ssh/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://scienceoss.com/a-more-secure-ssh-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Check open ports</title>
		<link>http://scienceoss.com/check-open-ports/</link>
		<comments>http://scienceoss.com/check-open-ports/#comments</comments>
		<pubDate>Thu, 13 Mar 2008 03:17:23 +0000</pubDate>
		<dc:creator>ryan</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[ports]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://scienceoss.com/check-open-ports/</guid>
		<description><![CDATA[Are there any open ports that shouldn&#8217;t be open? Check with: sudo netstat -tupl Results in something like: Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 localhost:mysql *:* LISTEN 5077/mysqld tcp 0 0 localhost:ipp *:* LISTEN 5001/cupsd udp 0 0 *:32768 *:* 5324/avahi-daemon: udp 0 [...]]]></description>
			<content:encoded><![CDATA[<p>Are there any open ports that shouldn&#8217;t be open?  Check with:</p>
<pre class="prettyprint"><code class="code">sudo netstat -tupl</code></pre>
<p>Results in something like:</p>
<pre class="prettyprint"><code class="code">
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address    Foreign Address  State    PID/Program name
tcp        0      0 localhost:mysql  *:*              LISTEN  5077/mysqld
tcp        0      0 localhost:ipp    *:*              LISTEN  5001/cupsd
udp        0      0 *:32768          *:*                      5324/avahi-daemon:
udp        0      0 *:bootpc         *:*                      5875/dhclient
udp        0      0 *:mdns           *:*                      5324/avahi-daemon: </code></pre>
<p>Kill the process that is using the port</p>
<pre class="prettyprint"><code class="code">kill (PID here)</code></pre>
<p>List open files:</p>
<pre class="prettyprint"><code class="code">lsof -i</code></pre>
<p>where the -i makes it list internet files.</p>
]]></content:encoded>
			<wfw:commentRss>http://scienceoss.com/check-open-ports/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

