From owner-freebsd-questions Thu Nov 8 23:30:41 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.isg.siue.edu (mail.isg.siue.edu [146.163.5.4]) by hub.freebsd.org (Postfix) with ESMTP id 4101237B41C for ; Thu, 8 Nov 2001 23:30:37 -0800 (PST) Received: from WEBSHIELD1.isg.siue.edu (webshield1.isg.siue.edu [146.163.5.149]) by mail.isg.siue.edu (8.9.1/8.9.1) with SMTP id BAA05952 for ; Fri, 9 Nov 2001 01:30:33 -0600 (CST) Received: FROM mail.isg.siue.edu BY WEBSHIELD1.isg.siue.edu ; Fri Nov 09 01:30:14 2001 -0600 Received: from client156-52.ll.siue.edu (client156-52.ll.siue.edu [146.163.156.52]) by mail.isg.siue.edu (8.9.1/8.9.1) with ESMTP id BAA05943; Fri, 9 Nov 2001 01:30:31 -0600 (CST) Received: (from vcardon@localhost) by client156-52.ll.siue.edu (8.11.2/8.11.2/SuSE Linux 8.11.1-0.5) id fA97QxQ27395; Fri, 9 Nov 2001 01:26:59 -0600 Date: Fri, 9 Nov 2001 01:26:59 -0600 From: "Victor R. Cardona" To: Jonathan Hilgeman Cc: "'freebsd-questions@freebsd.org'" Subject: Re: Logging Out Ghosts Message-ID: <20011109012659.A27294@client156-52.ll.siue.edu> References: <5D90F61EB6FDD411836500508B137F1AA3F00F@mailsvr.ecx.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="G4iJoqBmSsgzjUCe" Content-Disposition: inline User-Agent: Mutt/1.3.12i In-Reply-To: <5D90F61EB6FDD411836500508B137F1AA3F00F@mailsvr.ecx.com>; from JHilgeman@ecx.com on Wed, Nov 07, 2001 at 10:58:10AM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 07, 2001 at 10:58:10AM -0800, Jonathan Hilgeman wrote: > Sometimes I get disconnected in the middle of a SSH session, and it'll le= ave > my ghost logged into the machine. Is there any way I can have the system > automatically log out users that have been idle for a while? The manpage for sshd lists two variables that you can set in /etc/ssh/sshd_config that might be able to help. ClientAliveInterval ClientAliveCountMax HTH, -v --=20 Victor R. Cardona Powered by SuSE Linux 7.1 (i386) Professional GPG key ID E81B3A1C Key fingerprint =3D 0147 A234 99C3 F4C5 BC64 F501 654F DB49 E81B 3A1C --G4iJoqBmSsgzjUCe Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE764VDZU/bSegbOhwRAtdpAKCiIprf4vB+ozi7pit6s93BXfoTqgCfWdgp 3VrhFXUvGQGGixTI7VKwVx8= =8taB -----END PGP SIGNATURE----- --G4iJoqBmSsgzjUCe-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message