Idle Time-out
Seth Ellsworth
Seth.Ellsworth at quest.com
Fri May 28 01:24:28 EST 2010
That could be handled by a shell setting ( this is bash ):
TMOUT If set to a value greater than zero, TMOUT is treated as the default timeout for the read builtin. The select command
terminates if input does not arrive after TMOUT seconds when input is coming from a terminal. In an interactive
shell, the value is interpreted as the number of seconds to wait for input after issuing the primary prompt. Bash
terminates after waiting for that number of seconds if input does not arrive.
Do not get the nice "This session will log out in 60 seconds due to inactivity" message I've seen, but same end effect ( logged out on timeout ).
---
Seth Ellsworth
Vintela Development
The people and products of Vintela are now a part of Quest Software.
Read the press release to learn more.
-----Original Message-----
From: openssh-unix-dev-bounces+seth.ellsworth=quest.com at mindrot.org [mailto:openssh-unix-dev-bounces+seth.ellsworth=quest.com at mindrot.org] On Behalf Of Iain Morgan
Sent: Thursday, May 27, 2010 9:18 AM
To: miguel.sanders at arcelormittal.com
Cc: openssh-unix-dev at mindrot.org
Subject: Re: Idle Time-out
On Thu, May 27, 2010 at 05:52:35 -0500, miguel.sanders at arcelormittal.com wrote:
> Hi
>
> Does OpenSSH have a feature in which a client gets kicked out after X minutes of inactivity (no keystrokes)?
> I have seen this on other SSH implementations but I don't see it in OpenSSH.
>
> Thnx!
>
No. There are the {Client,Server}Alive{CountMax,Interval} options which
are intended to detect dead connections, but nothing that strictly
corresponds to an idle timeout.
--
Iain Morgan
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev at mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
More information about the openssh-unix-dev
mailing list