[TriLUG] Timeout for SSH session

Dan Chen crimsun at email.unc.edu
Thu May 30 19:03:16 EDT 2002


On Thu, May 30, 2002 at 06:10:58PM -0400, Kevin Hunter wrote:
> I want to set a timeout for users ssh'ing into my box.  I thought
> that 'TMOUT=7200' in /etc/profile would cover it but it apparently
> does not or else I've got the var name wrong.  I'm running RH 7.2.

I believe you're looking at the wrong option. See the LoginGraceTime ***
in /etc/ssh/sshd_config (dunno where RH 7.2 places it), where *** is in
seconds.

-- 
Dan Chen                 crimsun at email.unc.edu
GPG key:   www.unc.edu/~crimsun/pubkey.gpg.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://www.trilug.org/pipermail/trilug/attachments/20020530/c2ad774e/attachment.pgp>


More information about the TriLUG mailing list