<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Setting up a permanent ssh tunnel on Mac OS X</title>
	<atom:link href="http://crz.lt/2007/09/26/setting-up-a-permanent-ssh-tunnel-on-mac-os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://crz.lt/2007/09/26/setting-up-a-permanent-ssh-tunnel-on-mac-os-x/</link>
	<description>what&#039;s on my mind</description>
	<lastBuildDate>Thu, 10 Nov 2011 10:10:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: StarQuake</title>
		<link>http://crz.lt/2007/09/26/setting-up-a-permanent-ssh-tunnel-on-mac-os-x/comment-page-1/#comment-27383</link>
		<dc:creator>StarQuake</dc:creator>
		<pubDate>Wed, 27 Jul 2011 07:02:46 +0000</pubDate>
		<guid isPermaLink="false">http://crz.lt/2007/09/26/setting-up-a-permanent-ssh-tunnel-on-mac-os-x/#comment-27383</guid>
		<description>This is what I came up with after reading your post.
I run this on the server:
#!/bin/bash
while [ 1 ]; do
  ssh -R 24800:127.0.0.1:24800 user@clienthost &quot;synergyc -f --name clienthost 127.0.0.1&quot;
  sleep 5
done

Advantages for me are:
* Only one script
* I can start it only when needed, on the machine that has the keyboard and mouse
* The client never tries to connect when on another network</description>
		<content:encoded><![CDATA[<p>This is what I came up with after reading your post.<br />
I run this on the server:<br />
#!/bin/bash<br />
while [ 1 ]; do<br />
  ssh -R 24800:127.0.0.1:24800 user@clienthost &#8220;synergyc -f &#8211;name clienthost 127.0.0.1&#8243;<br />
  sleep 5<br />
done</p>
<p>Advantages for me are:<br />
* Only one script<br />
* I can start it only when needed, on the machine that has the keyboard and mouse<br />
* The client never tries to connect when on another network</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aurimas</title>
		<link>http://crz.lt/2007/09/26/setting-up-a-permanent-ssh-tunnel-on-mac-os-x/comment-page-1/#comment-24913</link>
		<dc:creator>Aurimas</dc:creator>
		<pubDate>Tue, 03 Aug 2010 07:31:32 +0000</pubDate>
		<guid isPermaLink="false">http://crz.lt/2007/09/26/setting-up-a-permanent-ssh-tunnel-on-mac-os-x/#comment-24913</guid>
		<description>I see there&#039;s one more project doing the thing:

http://code.google.com/p/cocoa-sshtunnel/</description>
		<content:encoded><![CDATA[<p>I see there&#8217;s one more project doing the thing:</p>
<p><a href="http://code.google.com/p/cocoa-sshtunnel/" rel="nofollow">http://code.google.com/p/cocoa-sshtunnel/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin</title>
		<link>http://crz.lt/2007/09/26/setting-up-a-permanent-ssh-tunnel-on-mac-os-x/comment-page-1/#comment-17305</link>
		<dc:creator>Justin</dc:creator>
		<pubDate>Thu, 19 Jun 2008 17:33:37 +0000</pubDate>
		<guid isPermaLink="false">http://crz.lt/2007/09/26/setting-up-a-permanent-ssh-tunnel-on-mac-os-x/#comment-17305</guid>
		<description>I&#039;ve developed a Mac application called Meerkat which helps manage tunnels and keep them up over sleep/wake, network changes, etc. It might be handier than building scripts for each tunnel that you need. I had started scripting lots of things like you did initially, but after a while, it got unmanageable. 

http://codesorcery.net/meerkat</description>
		<content:encoded><![CDATA[<p>I&#8217;ve developed a Mac application called Meerkat which helps manage tunnels and keep them up over sleep/wake, network changes, etc. It might be handier than building scripts for each tunnel that you need. I had started scripting lots of things like you did initially, but after a while, it got unmanageable. </p>
<p><a href="http://codesorcery.net/meerkat" rel="nofollow">http://codesorcery.net/meerkat</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: G.J. van de Streek</title>
		<link>http://crz.lt/2007/09/26/setting-up-a-permanent-ssh-tunnel-on-mac-os-x/comment-page-1/#comment-13880</link>
		<dc:creator>G.J. van de Streek</dc:creator>
		<pubDate>Mon, 17 Mar 2008 13:28:03 +0000</pubDate>
		<guid isPermaLink="false">http://crz.lt/2007/09/26/setting-up-a-permanent-ssh-tunnel-on-mac-os-x/#comment-13880</guid>
		<description>@thai: did you change the script in any way? You might see this when using the -f option.</description>
		<content:encoded><![CDATA[<p>@thai: did you change the script in any way? You might see this when using the -f option.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: thai</title>
		<link>http://crz.lt/2007/09/26/setting-up-a-permanent-ssh-tunnel-on-mac-os-x/comment-page-1/#comment-13356</link>
		<dc:creator>thai</dc:creator>
		<pubDate>Wed, 05 Mar 2008 07:48:33 +0000</pubDate>
		<guid isPermaLink="false">http://crz.lt/2007/09/26/setting-up-a-permanent-ssh-tunnel-on-mac-os-x/#comment-13356</guid>
		<description>Great tutorial!  Exactly what I was looking for.

Question: is it normal for the tunnel-start.sh script to continually try to tunnel through?

ps-efl&#124;grep ssh shows multiple ssh tunnel attempts.

If I run the login-hook.sh script manually (instead of the loginhook way), I can see errors about trying to use 10548 (my local side port to AFP) again.

Thanks again for posting this how-to.

T</description>
		<content:encoded><![CDATA[<p>Great tutorial!  Exactly what I was looking for.</p>
<p>Question: is it normal for the tunnel-start.sh script to continually try to tunnel through?</p>
<p>ps-efl|grep ssh shows multiple ssh tunnel attempts.</p>
<p>If I run the login-hook.sh script manually (instead of the loginhook way), I can see errors about trying to use 10548 (my local side port to AFP) again.</p>
<p>Thanks again for posting this how-to.</p>
<p>T</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aurimas</title>
		<link>http://crz.lt/2007/09/26/setting-up-a-permanent-ssh-tunnel-on-mac-os-x/comment-page-1/#comment-13090</link>
		<dc:creator>Aurimas</dc:creator>
		<pubDate>Wed, 27 Feb 2008 20:52:45 +0000</pubDate>
		<guid isPermaLink="false">http://crz.lt/2007/09/26/setting-up-a-permanent-ssh-tunnel-on-mac-os-x/#comment-13090</guid>
		<description>Ah, so did not find some tool ready for that out of the box? Regarding ServerAliveInterval - makes sense, I&#039;ll have to add that as well.</description>
		<content:encoded><![CDATA[<p>Ah, so did not find some tool ready for that out of the box? Regarding ServerAliveInterval &#8211; makes sense, I&#8217;ll have to add that as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andreas</title>
		<link>http://crz.lt/2007/09/26/setting-up-a-permanent-ssh-tunnel-on-mac-os-x/comment-page-1/#comment-13089</link>
		<dc:creator>andreas</dc:creator>
		<pubDate>Wed, 27 Feb 2008 20:34:55 +0000</pubDate>
		<guid isPermaLink="false">http://crz.lt/2007/09/26/setting-up-a-permanent-ssh-tunnel-on-mac-os-x/#comment-13089</guid>
		<description>Now I even tried it. It works well, but especially after I added

-o ServerAliveInterval=3

to the ssh command. Without this the ssh process would hang after a sleep in some cases. Now the process is terminated when the connection is lost.

Cheers</description>
		<content:encoded><![CDATA[<p>Now I even tried it. It works well, but especially after I added</p>
<p>-o ServerAliveInterval=3</p>
<p>to the ssh command. Without this the ssh process would hang after a sleep in some cases. Now the process is terminated when the connection is lost.</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andreas</title>
		<link>http://crz.lt/2007/09/26/setting-up-a-permanent-ssh-tunnel-on-mac-os-x/comment-page-1/#comment-12578</link>
		<dc:creator>andreas</dc:creator>
		<pubDate>Sun, 17 Feb 2008 09:50:30 +0000</pubDate>
		<guid isPermaLink="false">http://crz.lt/2007/09/26/setting-up-a-permanent-ssh-tunnel-on-mac-os-x/#comment-12578</guid>
		<description>Thanks! 

I was searching high and low for some  application that would do this, but your script is a simple solution that looks very effective.

I am currently using ssh keychain, but after sleep it can&#039;t handle reestablishing the tunnel.

Must not forget my unix skills

Cheers</description>
		<content:encoded><![CDATA[<p>Thanks! </p>
<p>I was searching high and low for some  application that would do this, but your script is a simple solution that looks very effective.</p>
<p>I am currently using ssh keychain, but after sleep it can&#8217;t handle reestablishing the tunnel.</p>
<p>Must not forget my unix skills</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
</channel>
</rss>

