Date: 22 Sep 1997 23:19:33 -0500 From: Dave Marquardt <marquard@zilker.net> To: freebsd-questions@freebsd.org Subject: Re: Killing a socket Message-ID: <85k9g8mzl6.fsf@localhost.zilker.net> In-Reply-To: Jacques Hugo's message of Mon, 22 Sep 1997 16:33:46 %2B0200 References: <342681CA.237C228A@wired.ctech.ac.za>
next in thread | previous in thread | raw e-mail | index | archive | help
Jacques Hugo <jacques@wired.ctech.ac.za> writes: > Hi there ... > > I don't know if this can be done ... but anyway ;) > > If I connect to a server with ssh, that server gets > my request and lets me through after the auth. > > If I kill that connection, then on netstat -a it > shows that that connection is still ESTABLISHED. > > How can I kill that socket. Is there a util to > do this or can it be done by hand? Use the `lsof' program to find out which process owns the socket, then find a way to get that program to give it up. -Dave
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?85k9g8mzl6.fsf>