0

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....?

vertonskjelvic
asked Nov 23, 2017
1 Answer
0

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.

View More
arunkumarak
answered Nov 23, 2017
Your Answer
||||
x
 
100:0