[TriLUG] SSH inactivity timeout

Brian Henning brian at strutmasters.com
Fri Jan 27 13:44:41 EST 2006


Hi Y'all,
   I've noticed that if I'm ssh'ed into a system somewhere across the 
Internet and my session goes idle for a certain length of time, I'm 
disconnected ("connection reset by peer").  However, if the session is 
with a host on the LAN, then that doesn't happen - my session can stay 
idle all day long and not get terminated.

I want to change that.  I'm setting up a server to be as secure as I can 
make it, and I don't want the possibility of someone (read: me in a fit 
of laziness) walking away from an SSH session for a while and leaving it 
open to physical compromise.

However, I don't see anything in the sshd_config about inactivity.  For 
what should I be looking?

Thanks,
~Brian

-- 
----------------
Brian A. Henning
strutmasters.com
336.597.2397x238
----------------



More information about the TriLUG mailing list