On Wed, Mar 23, 2011 at 7:37 PM, Kingsly John <[email protected]>wrote:
> +++ 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" ? > Yes, that was a bad mistake on my part. I used $ ps -ef | grep 'pts' to find the which pts/x process to kill. I tried to kill it but it did not, hence I just ended up killing the specific sshd using the PID -- Nandan Vaidya
-- ubuntu-in mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
