On Dec 29, 2007 6:04 PM, David Brown <[EMAIL PROTECTED]> wrote:
> On Sat, Dec 29, 2007 at 05:04:46PM -0800, SJS wrote:
>
> >If I ssh into a remote machine, my connection stays put, for awhile. If
> >I'm idle for too long, the remote system logs me out, terminates my
> >connection, and after awhile, I'll log back in again.
>
> It's probably not the remote system logging you out, it's probably a
> firewall forgetting the connection and not allowing any more traffic.

Or it may be that sshd on the server doesn't have KeepAlive set. My
servers have:
KeepAlive yes
ClientAliveInterval 2m
ClientAliveCountMax 120

in /etc/ssh/sshd_config, and that keeps things up indefinitely.

-- 
Brad Beyenhof
http://augmentedfourth.com
Silence will save me from being wrong (and foolish), but it will also
deprive me of the possibility of being right.
                                                    ~ Igor Stravinsky


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to