Re: How to cut off a ssh connection



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



Relevant Pages

  • Re: Tales of the Bold Rogue
    ... My patch also includes some significant gameplay changes. ... weapon. ... behind in case I am forced to retreat, so I kill them. ... It will just be an ordinary slay weapon. ...
    (rec.games.roguelike.angband)
  • Re: YANI: new slay
    ... Not only is it useless in a gaming sense ("slimes" are pretty much useless to kill), but they make no sense themeatically. ... Perhaps in a non-Tolkeinian world, slime-killing might be an time-honored tradition, but I've heard no lays about a mighty elf slaying a slime in single combat. ... Someone just getting into the game might mistake their overall contribution to the game. ... Personally, if I were to consider adding a slay, I'd consider slaying "people". ...
    (rec.games.roguelike.angband)
  • Re: Collected Vanilla wish list.
    ... priest has to use it to kill pretty much everything unless you move really ... dispels and melee with healing and protective spells are priests tools. ... you use no tatics and just try to kill everything you see. ... Right, all brands, slay evil and slay dragon. ...
    (rec.games.roguelike.angband)
  • Re: Circular reasoning debunked
    ... "Do the Ten Commandments really say "Thou shalt not murder"? ... Hebrew word for "kill" in Exodus 20:13 is ratsach. ... "slay" in the contradictory command in Exodus 32:27 is haraq). ...
    (alt.religion.christian)
  • Re: Circular reasoning debunked
    ... Hell, just look at the commandment that says in the KJV, "Thou shalt not kill". ... In more recent translations it says "You shall not murder". ... "slay" in the contradictory command in Exodus 32:27 is haraq). ...
    (alt.religion.christian)