dTechNotes
Thursday, January 4, 2018
Kill and terminate user ssh session on Linux
1. See who is connected:
who
2. Identify user session PID:
netstat -tanp
3. Kill that user session:
kill -9 PID
4. Check by running again step 1.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment