<?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: ssh keep-alive tip</title>
	<atom:link href="http://madphilosopher.ca/2005/07/an-ssh-keep-alive-tip/feed/" rel="self" type="application/rss+xml" />
	<link>http://madphilosopher.ca/2005/07/an-ssh-keep-alive-tip/</link>
	<description>Because being mad is all the rage. A personal weblog of Darren Paul Griffith.</description>
	<lastBuildDate>Tue, 09 Mar 2010 20:06:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: DD</title>
		<link>http://madphilosopher.ca/2005/07/an-ssh-keep-alive-tip/comment-page-1/#comment-216241</link>
		<dc:creator>DD</dc:creator>
		<pubDate>Thu, 24 Sep 2009 00:57:39 +0000</pubDate>
		<guid isPermaLink="false">http://madphilosopher.ca/2005/07/a-ssh-keep-alive-tip/#comment-216241</guid>
		<description>Thanks for all the help</description>
		<content:encoded><![CDATA[<p>Thanks for all the help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marvin</title>
		<link>http://madphilosopher.ca/2005/07/an-ssh-keep-alive-tip/comment-page-1/#comment-215332</link>
		<dc:creator>Marvin</dc:creator>
		<pubDate>Tue, 18 Aug 2009 23:49:56 +0000</pubDate>
		<guid isPermaLink="false">http://madphilosopher.ca/2005/07/a-ssh-keep-alive-tip/#comment-215332</guid>
		<description>Todd Says:
&lt;blockquote&gt;
June 8th, 2006 at 1336 UTC

DO NOT RUN TOP - it requires too much overhead(processor cycles) and your sysadmin will kill it if he notices anyway.
&lt;/blockquote&gt;


Absolutely not true. 

1&gt; It only uses many cycles if you have the interval set way too short, like under .5 seconds

2&gt; if your sysadmin is obsessed with you not using top, he/she should simply disable your ability to run it, not &#039;kill it&#039; once you do.</description>
		<content:encoded><![CDATA[<p>Todd Says:</p>
<blockquote><p>
June 8th, 2006 at 1336 UTC</p>
<p>DO NOT RUN TOP &#8211; it requires too much overhead(processor cycles) and your sysadmin will kill it if he notices anyway.
</p></blockquote>
<p>Absolutely not true. </p>
<p>1&gt; It only uses many cycles if you have the interval set way too short, like under .5 seconds</p>
<p>2&gt; if your sysadmin is obsessed with you not using top, he/she should simply disable your ability to run it, not &#8216;kill it&#8217; once you do.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ct529</title>
		<link>http://madphilosopher.ca/2005/07/an-ssh-keep-alive-tip/comment-page-1/#comment-212909</link>
		<dc:creator>ct529</dc:creator>
		<pubDate>Wed, 17 Jun 2009 10:04:16 +0000</pubDate>
		<guid isPermaLink="false">http://madphilosopher.ca/2005/07/a-ssh-keep-alive-tip/#comment-212909</guid>
		<description>Remember that 
&lt;pre&gt;
ServerAliveInterval
&lt;/pre&gt;
is limited by
&lt;pre&gt;
ServerAliveCountMax
&lt;/pre&gt;

and that &lt;code&gt;ServerAliveCountMax&lt;/code&gt; is set to 3 by default!

That is, if you set  &lt;code&gt;ServerAliveInterval&lt;/code&gt; to 60 and &lt;code&gt;ServerAliveCountMax&lt;/code&gt; is left to default value (3), after the client has sent 3 keep alive packets it will disconnect. That makes 60 x 3 = 180 seconds.

So if you want more time away, you set &lt;code&gt;ServerAliveInterval&lt;/code&gt; to 60 and &lt;code&gt;ServerAliveCountMax&lt;/code&gt; to the numer you want (for example: 100). The client will send one keep alive packet every 0 seconds for 100 times or, if you prefer, 100 keep alive packets, one every 60 seconds. :D

You set this up in your &lt;code&gt;$HOME/.ssh/config&lt;/code&gt; file.

Most of these options are explained in &lt;code&gt;man ssh_config&lt;/code&gt;.

Thanks a lot to Cam for pointing us all in the right direction!!!!</description>
		<content:encoded><![CDATA[<p>Remember that </p>
<pre>
ServerAliveInterval
</pre>
<p>is limited by</p>
<pre>
ServerAliveCountMax
</pre>
<p>and that <code>ServerAliveCountMax</code> is set to 3 by default!</p>
<p>That is, if you set  <code>ServerAliveInterval</code> to 60 and <code>ServerAliveCountMax</code> is left to default value (3), after the client has sent 3 keep alive packets it will disconnect. That makes 60 x 3 = 180 seconds.</p>
<p>So if you want more time away, you set <code>ServerAliveInterval</code> to 60 and <code>ServerAliveCountMax</code> to the numer you want (for example: 100). The client will send one keep alive packet every 0 seconds for 100 times or, if you prefer, 100 keep alive packets, one every 60 seconds. <img src='http://madphilosopher.ca/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>You set this up in your <code>$HOME/.ssh/config</code> file.</p>
<p>Most of these options are explained in <code>man ssh_config</code>.</p>
<p>Thanks a lot to Cam for pointing us all in the right direction!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arun Saha</title>
		<link>http://madphilosopher.ca/2005/07/an-ssh-keep-alive-tip/comment-page-1/#comment-204831</link>
		<dc:creator>Arun Saha</dc:creator>
		<pubDate>Fri, 20 Feb 2009 18:03:39 +0000</pubDate>
		<guid isPermaLink="false">http://madphilosopher.ca/2005/07/a-ssh-keep-alive-tip/#comment-204831</guid>
		<description>The suggestion

&lt;pre&gt;   
ServerAliveInterval 60
&lt;/pre&gt;

is perfect and elegant. I used it with success. Thank you.</description>
		<content:encoded><![CDATA[<p>The suggestion</p>
<pre>
ServerAliveInterval 60
</pre>
<p>is perfect and elegant. I used it with success. Thank you.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
