Re: How to cut off a ssh connection
- From: Ulf Rompe <Ulf.Rompe@xxxxxxxx>
- Date: Wed, 18 Jul 2007 17:35:44 +0200
Am Mittwoch, den 18.07.2007, 11:17 -0400 schrieb Matthew Flaschen:
ps aux | grep ssh
see which user/process needs to go and let them go (kill).
Alternatively, you could try using slay:
sudo apt-get install slay
slay otherUser
That will kill all of their processes, logging them off.
killall -u otherUser
does the same (while remaining the current process tree untouched, but I
think slay will also do it this way).
The problem with this is that you will kill every process of the said
user instead of just the SSH connection. To kill all SSH logins of a
user you could use
killall -u otherUser sshd
[x] ulf
--
If at first you don't succeed, try management.
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- Follow-Ups:
- Re: How to cut off a ssh connection
- From: Matthew Flaschen
- Re: How to cut off a ssh connection
- References:
- How to cut off a ssh connection
- From: Sergio Belkin
- Re: How to cut off a ssh connection
- From: Serg B.
- Re: How to cut off a ssh connection
- From: Matthew Flaschen
- How to cut off a ssh connection
- Prev by Date: Re: How to cut off a ssh connection
- Next by Date: Re: How to cut off a ssh connection
- Previous by thread: Re: How to cut off a ssh connection
- Next by thread: Re: How to cut off a ssh connection
- Index(es):
Relevant Pages
|