Server SSH login history with a list of the ip connections
The following command will show the last 20 connections to your server via SSH. It can be very useful to know if you have got some intrusions on your server, if a hacker has found a way to control your machine.
Here is the SSH command:
last -20
Some connection could be invisible if a hacker use a backdoor, or an exploit.
You can check that in auth.log and kern.log (/var/log).
Note: Commissions may be earned from the links above.
This page contains references to products from one or more of our advertisers. We may receive compensation when you click on links to those products. For an explanation of our advertising policy, please visit this page.