A question on idletimeout for OpenSSH

Darren Tucker dtucker at zip.com.au
Wed Apr 21 13:30:49 EST 2004


Amba giri wrote:
> I would like to know if there is a keyword in OpenSSH analogous
 > to IdleTimeout for SSH1.  Is there the ability to configure an
 > idle timeout in OpenSSH?

That depends on what you mean by "idle".  If you want the server to kill 
off connections that are not responding at all then you can use 
ClientAliveInterval and ClientAliveCountMax to do that.  If you want to 
kill off sessions where the client is still connected but the user 
hasn't typed anything for a while, this won't help, you can use 
something like autolog or the shell TMOUT variable.

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
     Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.




More information about the openssh-unix-dev mailing list