<?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>JJB Blog &#187; ssh-openssh-tcp-sessions-multiplex</title>
	<atom:link href="http://blog.johnjosephbachir.org/tag/ssh-openssh-tcp-sessions-multiplex/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.johnjosephbachir.org</link>
	<description></description>
	<lastBuildDate>Wed, 04 Jan 2012 05:47:01 +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>Multiplex several ssh sessions over a single TCP connection</title>
		<link>http://blog.johnjosephbachir.org/2006/11/19/multiplex-several-ssh-sessions-over-a-single-tcp-connection/</link>
		<comments>http://blog.johnjosephbachir.org/2006/11/19/multiplex-several-ssh-sessions-over-a-single-tcp-connection/#comments</comments>
		<pubDate>Sun, 19 Nov 2006 21:17:36 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[ssh-openssh-tcp-sessions-multiplex]]></category>

		<guid isPermaLink="false">http://blog.johnjosephbachir.org/2006/11/19/multiplex-several-ssh-sessions-over-a-single-tcp-connection/</guid>
		<description><![CDATA[Simon (gotta love that photo) informs us: There&#8217;s a nifty feature in openssh that lets you multiplex several ssh sessions over a single TCP connection. The first time you connect to a host it sets up a regular ssh connection, and creates a unix socket on a local filesystem; subsequence sessions get tunneled over that [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ibiblio.org/ses/">Simon</a> (gotta love that photo) informs us:</p>
<blockquote><p>There&#8217;s a nifty feature in openssh that lets you multiplex several ssh sessions over a single TCP connection.  The first time you connect to a host it sets up a regular ssh connection, and creates a unix socket on a local filesystem; subsequence sessions get tunneled over that connection, without having to do all the heavy duty key exchange, etc.</p>
<p>To enable, add the following to your ssh config file (typically <code>~/.ssh/config</code> )</p>
<p><code>ControlMaster auto<br />
ControlPath ~/.ssh/control-master/%r@%h:%p</code></p>
<p>Create a directory to hold the local sockets</p>
<p><code>mkdir ~/.ssh/control-master</code></p>
<p>Test by connecting to a host from one window, then, without logging out, start another window and connection to the same host.  The second one should start up a lot faster.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.johnjosephbachir.org/2006/11/19/multiplex-several-ssh-sessions-over-a-single-tcp-connection/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

