User Tools

Site Tools


linux:misc:kill_remote_users

Kill remote SSH users

> who  
mmrozek  tty1         Aug 17 10:03  
mmrozek  pts/3        Aug 17 10:09 (:pts/2:S.0)
 
> ps t  
PID   TTY      STAT   TIME COMMAND  
30737 pts/3    Ss     0:00 zsh
 
> echo "HAHAHAHAHAHAHAHA" | write mmrozek pts/3
 
> kill -9 30737
linux/misc/kill_remote_users.txt · Last modified: 2017/11/22 23:48 by tplecko