<?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; ssh</title>
	<atom:link href="http://scienceoss.com/categories/ssh/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.0</generator>
		<item>
		<title>Persistent SSH sessions</title>
		<link>http://scienceoss.com/persistent-ssh-sessions/</link>
		<comments>http://scienceoss.com/persistent-ssh-sessions/#comments</comments>
		<pubDate>Thu, 13 Mar 2008 03:41:47 +0000</pubDate>
		<dc:creator>ryan</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[utilities]]></category>
		<category><![CDATA[screen]]></category>

		<guid isPermaLink="false">http://scienceoss.com/persistent-ssh-sessions/</guid>
		<description><![CDATA[The screen program, among other useful things, lets you keep an SSH session running even after you disconnect from SSH. Here&#8217;s how to use it. SSH in. ssh user@hostname.com Once on the remote machine, set up a named screen: screen -S myscreen In another terminal, open another SSH connnection and start another screen: screen -S [...]]]></description>
			<content:encoded><![CDATA[<p>The <span class="c">screen</span> program, among other useful things, lets you keep an SSH session running even after you disconnect from SSH.  Here&#8217;s how to use it.</p>
<p>SSH in.</p>
<pre class="prettyprint"><code class="code">ssh user@hostname.com</code></pre>
<p>Once on the remote machine, set up a named screen:</p>
<pre class="prettyprint"><code class="code">screen -S myscreen</code></pre>
<p>In another terminal, open another SSH connnection and start another screen:</p>
<pre class="prettyprint"><code class="code">screen -S mysecondscreen</code></pre>
<p>You can see they are there by using, in either of the terminals,</p>
<pre class="prettyprint"><code class="code">screen -ls</code></pre>
<p>This does NOT start screen, just lists the different screens.</p>
<p>You can now disconnect the SSH connections.  When you reconnect, you can use</p>
<pre class="prettyprint"><code class="code">screen -r myscreen</code></pre>
<p>or</p>
<pre class="prettyprint"><code class="code">screen -r mysecondscreen</code></pre>
<p>to reconnect to the one you want.</p>
]]></content:encoded>
			<wfw:commentRss>http://scienceoss.com/persistent-ssh-sessions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>SSH: Add public key to remote server</title>
		<link>http://scienceoss.com/ssh-add-public-key-to-remote-server/</link>
		<comments>http://scienceoss.com/ssh-add-public-key-to-remote-server/#comments</comments>
		<pubDate>Thu, 13 Mar 2008 03:20:41 +0000</pubDate>
		<dc:creator>ryan</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[utilities]]></category>
		<category><![CDATA[public key]]></category>

		<guid isPermaLink="false">http://scienceoss.com/ssh-add-public-key-to-remote-server/</guid>
		<description><![CDATA[Easy way to add public key of this machine to a remote machine: ssh-copy-id -i ~/.ssh/id_dsa.pub root@fileserver01 More good info here: http://ubuntu-tutorials.com/2007/02/05/unattended-ssh-login-public-key-ssh-authorization-ssh-automatic-login/]]></description>
			<content:encoded><![CDATA[<p>Easy way to add public key of this machine to a remote machine:</p>
<pre class="prettyprint"><code class="code">ssh-copy-id -i ~/.ssh/id_dsa.pub root@fileserver01</code></pre>
<p>More good info here:<br />
<a href="http://ubuntu-tutorials.com/2007/02/05/unattended-ssh-login-public-key-ssh-authorization-ssh-automatic-login/">http://ubuntu-tutorials.com/2007/02/05/unattended-ssh-login-public-key-ssh-authorization-ssh-automatic-login/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://scienceoss.com/ssh-add-public-key-to-remote-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configure SSH</title>
		<link>http://scienceoss.com/configure-ssh/</link>
		<comments>http://scienceoss.com/configure-ssh/#comments</comments>
		<pubDate>Wed, 09 Jan 2008 20:42:28 +0000</pubDate>
		<dc:creator>ryan</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://scienceoss.com/?p=57</guid>
		<description><![CDATA[sudo vim /etc/ssh/sshd_config]]></description>
			<content:encoded><![CDATA[<pre class = "prettyprint"><code class = "code">sudo vim /etc/ssh/sshd_config </code></pre>
]]></content:encoded>
			<wfw:commentRss>http://scienceoss.com/configure-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Restart SSH</title>
		<link>http://scienceoss.com/restart-ssh/</link>
		<comments>http://scienceoss.com/restart-ssh/#comments</comments>
		<pubDate>Wed, 09 Jan 2008 20:42:04 +0000</pubDate>
		<dc:creator>ryan</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://scienceoss.com/?p=56</guid>
		<description><![CDATA[sudo /etc/init.d/ssh restart]]></description>
			<content:encoded><![CDATA[<pre class = "prettyprint"><code class = "code">sudo /etc/init.d/ssh restart</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://scienceoss.com/restart-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Check SSH login attempts</title>
		<link>http://scienceoss.com/check-ssh-login-attempts/</link>
		<comments>http://scienceoss.com/check-ssh-login-attempts/#comments</comments>
		<pubDate>Mon, 10 Dec 2007 20:37:45 +0000</pubDate>
		<dc:creator>ryan</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://scienceoss.com/?p=53</guid>
		<description><![CDATA[cat /var/log/auth.log &#124; grep sshd To check the zipped ones, use zcat /var/log/auth.log.1.gz &#124; grep sshd]]></description>
			<content:encoded><![CDATA[<pre class = "prettyprint"><code class = "code">cat /var/log/auth.log | grep sshd</code></pre>
<p>To check the zipped ones, use</p>
<pre class = "prettyprint"><code class = "code">zcat /var/log/auth.log.1.gz | grep sshd</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://scienceoss.com/check-ssh-login-attempts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
