[Linux-disciples] Killing a specific sshd instance
Stephen R Laniel
steve at laniels.org
Wed Feb 18 15:39:41 EST 2004
One of my machines at work lost network connectivity, so I lost
the ssh connection to my home machine. It hasn't timed out yet,
so I have a dangling TCP connection. Netstat gives me the port
number of that connection, and ps gives me the process numbers of
all my sshd instances. Is there any way to figure out which port
number maps to which sshd instance, so that I can kill the
appropriate sshd instance?
--
``Now that I read [The Giving Tree] as a parent, I know what it
truly means. It means that, one day, Cordelia is going to come
into my room with a hacksaw and go "Give 'em up, dad. I need to
buy a house." And don't get me wrong. I love my little girl as
much as any parent loves its sprog. But the day she comes after
my limbs, I'm takin' her out.''
-http://www.bookslut.com/blog/archives/2004_02.php#001566
More information about the Linux-disciples
mailing list