How can you confirm successful logins to SSH? It is simple as using the “last” utility from the root.
last -da
Using the command above will let you see the last success logins along with some important information as shown below. Very helpful to see if an account may have been compromised and at what time.
angels ftpd12345 Wed Jun 11 13:39 – 13:49 (00:10) c-68-11-22-33.hsd1.nj.sipylus.net
The following two tabs change content below.
Stephan Pringle
Technology Support Specialist at Sipylus
About The Author: Stephan Pringle is an Information Technology Support Specialist. He covers hardware and software and provides tips for you to troubleshoot and repair issues on your own. In his spare time, he writes articles about the State of New York on his Hackintosh and HackBook and that has helped him to become the top contributor of the New York City section of Yahoo! Answers.
Latest posts by Stephan Pringle (see all)
- Importing a PDF File to an Excel File - Saturday, August 19, 2023