From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,a1926630c8a817bd X-Google-Attributes: gidfa528,public From: Marble Head Subject: Re: Killing off Idle Sessions Date: 2000/10/10 Message-ID: <39E35BD6.797704C7@nospam.guacamole.com>#1/1 X-Deja-AN: 679820457 Content-Transfer-Encoding: 7bit References: <8rvgfs$2rd$1@pheidippides.axion.bt.co.uk> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@nose.shr.dec.com X-Trace: nose.shr.dec.com 971201496 1418703 16.129.14.83 (10 Oct 2000 18:11:36 GMT) Organization: Organization? Yes, please. Mime-Version: 1.0 NNTP-Posting-Date: 10 Oct 2000 18:11:36 GMT Newsgroups: comp.unix.tru64 I like to use ssh, and in the ssh_config file, there is a setting for KeepAlive. If set to yes, it sends keepalive messages, and in the event of a disconnect, it disconnects. If set to no, sessions that are disconnected may hang indefinitely. There may be a similar setting for telnetd. I've also heard of something called a watchdog, but I don't know if it suits your needs. HEWITTG wrote: > On a busy Alpha Tru64 5.0A server we need to kill off idle telnet > connections. > > I have tried to compile an old piece of source code that I found at > http://www.darkwing.com/idled/ but that was last updated in 1996 and I > can't get it to work. > > Looking for scripts/utils to scan utmp and kill sessions... > > -- > Giles Hewitt > [mailto:giles.hewitt@syntegra.bt.co.uk.com]