Here is another quick tip – How to find out in Red Hat ES Linux server who is connected over SSH to your server.
su cd /usr/sbin ./lsof -i :22 # or you can use this line ./lsof -i :ssh
You will get nice output about user, host, ip that is currently connected to your Linux server.