Confirm Successful Logins to SSH

How can you confirm successful logins to SSH? It is simple: use the “last” utility from the root.

last -da

The command above will let you see the last successful logins and some vital information, as shown below. The information included helps see if an account was compromised and at what time so that you may take steps to tighten security on the box.

angels ftpd12345 Wed Jun 11 13:39 – 13:49 (00:10) c-11-22-33-44.hsd1.nj.sipylus.com

The following two tabs change content below.
facebook-profile-picture

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.
facebook-profile-picture

Latest posts by Stephan Pringle (see all)

facebook-profile-picture

Stephan Pringle

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.