Silly SSH question

Mark J. Dulcey mark at buttery.org
Sat Apr 2 14:15:35 EST 2005


dsr at tao.merseine.nu wrote:

>>Yeah, you just named it. ;-)  Seriously... there isn't any other way.
> 
> 
> You know better than to say things like that.
> 
> `netstat -ap |grep ssh` to show you the process id while
> identifying the TCP connections made.
> 
> `grep ssh /proc/*/cmdline` comes to mind as well.
> 
> I'm sure there are others.

But this is still really the same way... find the PID of the shell, and 
then kill it. Somehow, I think he was looking for something a tad more 
elegant.



More information about the Discuss mailing list