[TriLUG] Timeout for SSH session

Dan Chen trilug@trilug.org
Thu, 30 May 2002 19:03:16 -0400


--AqsLC8rIMeq19msA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=3D7200' 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.

--=20
Dan Chen                 crimsun@email.unc.edu
GPG key:   www.unc.edu/~crimsun/pubkey.gpg.asc

--AqsLC8rIMeq19msA
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE89q+0MwVVFhIHlU4RAj3ZAJ95DVfdn8E8Jcu2ea7HolXF9lxXfQCfVHU5
GWBI/MNsU3Ae0omTbJPjbRc=
=qIRv
-----END PGP SIGNATURE-----

--AqsLC8rIMeq19msA--