<div dir="ltr">Pfft, I didn't even care about your SSH issue, just trying to get you tuned up on tmux homey. Kevin already told you what to do, I wasn't going to say the same thing.<div><br></div><div>--Rich</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Dec 21, 2014 at 4:13 PM, Freddy Martinez <span dir="ltr"><<a href="mailto:freddymartinez9@gmail.com" target="_blank">freddymartinez9@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I think Kevin's solution[0] is the simplest and requires the least<br>
amount of modification to workflow (sorry nixternal).<br>
<br>
I have added the following lines to my ~/.ssh/config (you can of<br>
course but this in /etc/ssh/sshd_config but I only care about my user<br>
on the local server:<br>
<br>
Host *<br>
 ServerAliveInterval 180<br>
 ServerAliveCountMax 2<br>
<br>
I think this might have almost the same effect that Vytenis is<br>
describing. I'll test this out for a week or so and report back.<br>
<br>
Thanks everyone!<br>
Freddy<br>
<br>
[0] <a href="http://blog.hwarf.com/2009/06/howto-set-sshd-idle-timeout.html" target="_blank">http://blog.hwarf.com/2009/06/howto-set-sshd-idle-timeout.html</a><br>
<span class="im HOEnZb"><br>
On Sun, Dec 21, 2014 at 4:08 PM, vytenis silgalis <<a href="mailto:vsilgalis@gmail.com">vsilgalis@gmail.com</a>> wrote:<br>
> If the problem is strictly related to timeouts there are 2 settings you<br>
> should care about:<br>
><br>
> ClientAliveInterval and ClientAliveCountMax<br>
><br>
> My quick 30 second rundown:<br>
> ClientAliveInterval - how often the server sends a message to the client to<br>
> ensure the session doesn't timeout<br>
> ClientAliveCountMax - number of times it sends a message before it decides<br>
> that the client is a lazy bastard and times out the session<br>
><br>
> My settings (60 seconds and 4 hours):<br>
> ClientAliveInterval 60<br>
> ClientAliveCountMax 240<br>
><br>
> These are set in the sshd config on the server side, there are a couple of<br>
> client side things you can do too, i like this because it doesn't require<br>
> any of our engineers to set anything up on their side.  We use this because<br>
> we route some of our SSH connections through a network gateway that a 5<br>
> minute session timeout on anything that routes through it.<br>
<br>
</span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
discuss mailing list<br>
<a href="mailto:discuss@lists.chicagolug.org">discuss@lists.chicagolug.org</a><br>
<a href="http://lists.chicagolug.org/cgi-bin/mailman/listinfo/discuss" target="_blank">http://lists.chicagolug.org/cgi-bin/mailman/listinfo/discuss</a><br>
</div></div></blockquote></div><br></div>