<?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>Coherent Ramblings &#187; ssh</title>
	<atom:link href="http://plathrop.tertiusfamily.net/blog/tag/ssh/feed/" rel="self" type="application/rss+xml" />
	<link>http://plathrop.tertiusfamily.net/blog</link>
	<description>My thoughts on everything from Operations through Parenting and beyond.</description>
	<lastBuildDate>Thu, 03 Jun 2010 17:12:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>SSH tab completion</title>
		<link>http://plathrop.tertiusfamily.net/blog/2008/03/24/ssh-tab-completion/</link>
		<comments>http://plathrop.tertiusfamily.net/blog/2008/03/24/ssh-tab-completion/#comments</comments>
		<pubDate>Mon, 24 Mar 2008 17:57:08 +0000</pubDate>
		<dc:creator>plathrop</dc:creator>
				<category><![CDATA[Quick Tips]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://plathrop.tertiusfamily.net/blog/2008/03/24/ssh-tab-completion/</guid>
		<description><![CDATA[This is awesome. Put the following into your ~/.bash_profile file:

complete -W &#34;$(echo `cat ~/.ssh/known_hosts &#124; cut -f 1 -d ' ' \
&#124; sed -e s/,.*//g &#124; uniq &#124; grep -v &#34;\[&#34;`;)&#34; ssh

Open a new shell and type ssh tab tab. I love tab completion, don&#8217;t you?
]]></description>
			<content:encoded><![CDATA[<p>This is awesome. Put the following into your <samp>~/.bash_profile</samp> file:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">complete</span> <span style="color: #660033;">-W</span> <span style="color: #ff0000;">&quot;$(echo <span style="color: #780078;">`cat ~/.ssh/known_hosts | cut -f 1 -d ' ' \
| sed -e s/,.*//g | uniq | grep -v &quot;\[&quot;`</span>;)&quot;</span> <span style="color: #c20cb9; font-weight: bold;">ssh</span></pre></div></div>

<p>Open a new shell and type <samp>ssh</samp> <em>tab tab</em>. I love tab completion, don&#8217;t you?</p>
]]></content:encoded>
			<wfw:commentRss>http://plathrop.tertiusfamily.net/blog/2008/03/24/ssh-tab-completion/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Useful SSH-isms</title>
		<link>http://plathrop.tertiusfamily.net/blog/2008/02/23/useful-ssh-isms/</link>
		<comments>http://plathrop.tertiusfamily.net/blog/2008/02/23/useful-ssh-isms/#comments</comments>
		<pubDate>Sat, 23 Feb 2008 22:53:07 +0000</pubDate>
		<dc:creator>plathrop</dc:creator>
				<category><![CDATA[Quick Tips]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://plathrop.tertiusfamily.net/blog/2008/02/23/useful-ssh-isms/</guid>
		<description><![CDATA[Two useful SSH-isms
]]></description>
			<content:encoded><![CDATA[<p><a href="http://m0j0.wordpress.com/2007/09/17/two-ssh-isms-i-forgot-today/">Two useful SSH-isms</a></p>
]]></content:encoded>
			<wfw:commentRss>http://plathrop.tertiusfamily.net/blog/2008/02/23/useful-ssh-isms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple SSH speed-up</title>
		<link>http://plathrop.tertiusfamily.net/blog/2008/02/14/simple-ssh-speed-up/</link>
		<comments>http://plathrop.tertiusfamily.net/blog/2008/02/14/simple-ssh-speed-up/#comments</comments>
		<pubDate>Fri, 15 Feb 2008 00:00:35 +0000</pubDate>
		<dc:creator>plathrop</dc:creator>
				<category><![CDATA[Quick Tips]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://plathrop.tertiusfamily.net/blog/2008/02/14/simple-ssh-speed-up/</guid>
		<description><![CDATA[I just discovered something that is very simple but saves a significant amount of time. Specifically, the SSH ControlMaster feature, which allows you to re-use an existing SSH connection whenever you connect to a host you are already connected to.
In your ~/.ssh/config file, add:

Host *
        ControlMaster auto
  [...]]]></description>
			<content:encoded><![CDATA[<p>I just discovered something that is very simple but saves a significant amount of time. Specifically, the SSH ControlMaster feature, which allows you to re-use an existing SSH connection whenever you connect to a host you are already connected to.</p>
<p>In your <samp>~/.ssh/config</samp> file, add:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">Host *
        ControlMaster auto
        ControlPath /tmp/%r@%h:%p</pre></div></div>

<p>Whenever you connect to <samp>server.example.com</samp> as user <samp>joeuser</samp>, SSH will create a named pipe at <samp>/tmp/joeuser@server.example.com:22</samp>. If you open another connection to the same server (as the same user), instead of creating a new TCP/IP connection, SSH will automatically multiplex the new session with the existing connection (through the named pipe)! This reduces time spent setting up new connections. Although this usual only saves a couple of seconds per connection, I&#8217;m constantly opening several simultaneous sessions; this will definitely add up to a significant savings over the long term!</p>
]]></content:encoded>
			<wfw:commentRss>http://plathrop.tertiusfamily.net/blog/2008/02/14/simple-ssh-speed-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
