<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="https://tanguy.ortolo.eu/blog/feed/rss/commentaires/" />
	<link>https://tanguy.ortolo.eu/blog/article42/ssh-connection-sharing</link>
	<language>en</language>
	<description>a blog about Debian and self-hosting</description>
	<lastBuildDate>Fri, 06 Jul 2012 15:01:00 +0000</lastBuildDate>
	<generator>PluXml</generator>
	<item>
		<title>OpenSSH tip: connection sharing - Written by Tanguy @ friday 06 july 2012, 15:01</title> 
		<link>https://tanguy.ortolo.eu/blog/article42/ssh-connection-sharing/#c1341586886-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article42/ssh-connection-sharing/#c1341586886-1</guid>
		<description>@Marius Gedminas : I think this is new, but it is now possible to use port forwarding options with new clients that use an existing master connection, with the effect of adding these port forwards to the master connection.</description>
		<pubDate>Fri, 06 Jul 2012 15:01:00 +0000</pubDate>
		<dc:creator>Tanguy</dc:creator>
	</item>
	<item>
		<title>OpenSSH tip: connection sharing - Written by Marius Gedminas @ friday 24 february 2012, 17:53</title> 
		<link>https://tanguy.ortolo.eu/blog/article42/ssh-connection-sharing/#c1330105995-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article42/ssh-connection-sharing/#c1330105995-1</guid>
		<description>I&amp;#039;ve discovered another con not mentioned here that made me turn ControlMaster off: it disables the use of the ~C escape to add new port forwardings and whatnot.</description>
		<pubDate>Fri, 24 Feb 2012 17:53:00 +0000</pubDate>
		<dc:creator>Marius Gedminas</dc:creator>
	</item>
	<item>
		<title>OpenSSH tip: connection sharing - Written by rjc @ monday 20 february 2012, 08:39</title> 
		<link>https://tanguy.ortolo.eu/blog/article42/ssh-connection-sharing/#c1329727176-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article42/ssh-connection-sharing/#c1329727176-1</guid>
		<description>@Tanguy: That&amp;#039;s great! Finally! I guess I should&amp;#039;ve read it all the way through before I opened my mouth ;^)
Thanks.</description>
		<pubDate>Mon, 20 Feb 2012 08:39:00 +0000</pubDate>
		<dc:creator>rjc</dc:creator>
	</item>
	<item>
		<title>OpenSSH tip: connection sharing - Written by Marius Gedminas @ saturday 18 february 2012, 23:37</title> 
		<link>https://tanguy.ortolo.eu/blog/article42/ssh-connection-sharing/#c1329608265-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article42/ssh-connection-sharing/#c1329608265-1</guid>
		<description>Thank you for mentioning ControlPersist -- without it ControlMaster is just unusable (killing all the sessions when your randomly close the one xterm that just happens to contain the first one? Ouch).

@friday: Ubuntu ships with a kernel security module (yama) that doesn&amp;#039;t allow random processes ptrace each other (tweakable by a sysctl setting, if you have legitimate debugging needs).  Fedora recently announced plans to reinvent that using a SELinux policy.</description>
		<pubDate>Sat, 18 Feb 2012 23:37:00 +0000</pubDate>
		<dc:creator>Marius Gedminas</dc:creator>
	</item>
	<item>
		<title>OpenSSH tip: connection sharing - Written by Tanguy @ friday 17 february 2012, 15:38</title> 
		<link>https://tanguy.ortolo.eu/blog/article42/ssh-connection-sharing/#c1329493117-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article42/ssh-connection-sharing/#c1329493117-1</guid>
		<description>@Timo Juhani Lindfors : Excellent, I did not notice that option!</description>
		<pubDate>Fri, 17 Feb 2012 15:38:00 +0000</pubDate>
		<dc:creator>Tanguy</dc:creator>
	</item>
	<item>
		<title>OpenSSH tip: connection sharing - Written by Tanguy @ friday 17 february 2012, 15:38</title> 
		<link>https://tanguy.ortolo.eu/blog/article42/ssh-connection-sharing/#c1329493088-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article42/ssh-connection-sharing/#c1329493088-1</guid>
		<description>@rjc : Well, this is exactly why I introduced the option “ControlPersist”, which forks and backgrounds the connection sharing thread. This way, the first client can terminate without bothering the other ones.</description>
		<pubDate>Fri, 17 Feb 2012 15:38:00 +0000</pubDate>
		<dc:creator>Tanguy</dc:creator>
	</item>
	<item>
		<title>OpenSSH tip: connection sharing - Written by rjc @ friday 17 february 2012, 10:49</title> 
		<link>https://tanguy.ortolo.eu/blog/article42/ssh-connection-sharing/#c1329475775-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article42/ssh-connection-sharing/#c1329475775-1</guid>
		<description>anonymous, +1

I used to use this feature myself and the main disadvantage is the first connection being locked until the last one exits. Scenario:

I logged on to a machine to do a quick maintenance task, then connected with another (this time under tmux) to do one lasting a bit longer. Not wanting to interrupt the latter I had to leave my screen locked as the first one wasn&amp;#039;t run under tmux or screen. If only there was a way of the second (or third, fourth...) connection to take over as the main one, or better yet, for it to automatically &amp;quot;jump&amp;quot; until the last connection.
Otherwise it&amp;#039;s only useful as a detached job or interactive one locking one of your terminals.</description>
		<pubDate>Fri, 17 Feb 2012 10:49:00 +0000</pubDate>
		<dc:creator>rjc</dc:creator>
	</item>
	<item>
		<title>OpenSSH tip: connection sharing - Written by anonymous @ friday 17 february 2012, 02:01</title> 
		<link>https://tanguy.ortolo.eu/blog/article42/ssh-connection-sharing/#c1329444109-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article42/ssh-connection-sharing/#c1329444109-1</guid>
		<description>Let&amp;#039;s extend the disadvantages a bit:
 * If you scp a file, it reuses your interactive connection and now sends your file using IPQos lowdelay clogging your bandwidth. Say good bye to interactive typing.
 * You just started scp and then log in interactively? Now your scp never finishes.

This not only &amp;quot;works&amp;quot; with scp, but also with git, rsync and other tools. So maybe turning on this feature isn&amp;#039;t that a good idea.</description>
		<pubDate>Fri, 17 Feb 2012 02:01:00 +0000</pubDate>
		<dc:creator>anonymous</dc:creator>
	</item>
		<title>Tanguy Ortolo - OpenSSH tip: connection sharing - Comments</title> 
</channel>
</rss>