Getting rid of dead connections
From: Mike Dodd (mike@mdodd.com)
Date: 12/29/02
- Previous message: Rodrick R. Brown: "Re: VPN into PIX w/o cisco vpn client"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: mike@mdodd.com (Mike Dodd) Date: 28 Dec 2002 19:04:57 -0800
I'm using SSH 3.4 on a Linux server for a home network. Several times
in the past couple months, I've had to reboot a Windows PC that was
connected to the server via SSH, and this has left an orphan
connection that appears to stay open forever. (I've since learned of
the ClientAliveInterval and ClientAliveCountMax options in
/etc/ssh/sshd_config.)
The problem is, the server thinks there are five current users when,
in fact, there is only one. 'who' returns four users with pts/?
ports, two of which are over a month old.
I cannot find multiple instances of the ssh deamon running. 'ps -aux |
grep ssh' returns one instance.
I have restarted sshd, but that doesn't get rid of the dead
connections.
Is there any way to convince the Linux box that there is only one
user? I've read the man pages for ssh and sshd, hoping for a
command-line option that would do the trick, but haven't found
anything.
Thanks in advance for any help.
Mike Dodd
- Next message: Mike Iglesias: "Re: VPN into PIX w/o cisco vpn client"
- Previous message: Rodrick R. Brown: "Re: VPN into PIX w/o cisco vpn client"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|