Advertisement
Guest User

Untitled

a guest
Oct 13th, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. ss | grep -i ssh
  2. last -a | grep -i still
  3. who
  4. w
  5. netstat -tnpa | grep 'ESTABLISHED.*sshd'
  6. ps auxwww | grep sshd: | grep -v grep
  7.  
  8.  
  9. How do I find out the recent SSH logins for Centos and their IP address?
  10. last | grep root
  11. last | head
  12.  
  13.  
  14.  
  15.  
  16. /// kill process ssh specific user
  17. sudo pkill -9 -u username
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement