+++ Nandan Vaidya [2011-03-23 16:01:32]:

> If the 10.160.0.x2 session was via launched ssh, then the $w command should
> show you the PID of the sshd process from where the pts/x (replace x with a
> number) session was launched.
> I believe killing this particular sshd process (only) should log you out from
> that session.

Where do you see the PID in the output of "w"  ?

> I actually used this a couple of days ago, it worked but having to use $ kill
> -9 was :(
> 
> If there is a better solution, hopefully somebody will point it out.

It's better to kill the shell rather than sshd 

ps x |grep bash <-- shows you the PID and pts/X .. kill the approriate ones.

(replace bash with whatever your default shell is)

Kingsly

-- 
---------------------------------------------------------------------------
     Kingsly At Users Dot SourceForge Dot Net  -- http://kingsly.org/
---------------------------------------------------------------------------

Attachment: pgpuSpIrvthkc.pgp
Description: PGP signature

-- 
ubuntu-in mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in

Reply via email to