ss | grep -i ssh
last -a | grep -i still
who
w
netstat -tnpa | grep 'ESTABLISHED.*sshd'
ps auxwww | grep sshd: | grep -v grep
How do I find out the recent SSH logins for Centos and their IP address?
last | grep root
last | head
/// kill process ssh specific user
sudo pkill -9 -u username