Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Silly SSH question



On Sat, Apr 02, 2005 at 01:59:08PM -0500, Derek Martin wrote:
> On Sat, Apr 02, 2005 at 01:36:31PM -0500, Josh Pollak wrote:
> > The question is, how do I cleanly kill this tunnel? I've been running 
> > 'ps aux | grep ssh', finding the line and killing it, but that seems 
> > kludgy. Is there a 'right way' to do this? 
> 
> 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.

-dsr-

-- 
Nothing to sig here, move along.




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org