Re: howto terminate a remote ssh session?

From: Spyro Polymiadis (spolymiadis_at_ratbaggames.com)
Date: 10/12/04


Date: Tue, 12 Oct 2004 08:43:30 +0930

Michael wrote:
> As root i would like to terminate a remote ssh session of another user.
> How do you force a logoff of another user in (redhat) Linux?
>

Firstly at the prompt type # w or # who this will give you who's logged
in. Now take note of the pts/# they are logged in as and then do
# ps ax and locate the `- bash` command relating to thier pts and kill
-9 it.. easy :)