vertonskjelvic
asked Nov 23 2017
Answer
first find the current login ssh user by using # who -la. next step filter the user ip and PID using # who -la | awk '{print $7$8}'. finally kill the process by using # kill -9 PID.
arunkumarak
asked Nov 23 2017
edited Oct 05 2018
terminate remote ssh user in linux
how do I prevent my server from ssh user in linux.....? suppose if they access my server through ssh, how to terminate that user....?