ubuntu command to show ssh login history

Asked by aneesh

Is there any ubuntu command for showing SSH login history that is connected into my machine from outside ?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu openssh Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Allan Shand (ashand79) said :
#1

a log of ssh logins and attempts will be in "/var/log/auth.log" and the command to view the log will be "sudo nano /var/log/auth.log"
you can obviously chose your editor/viewer of choice. If you are using the graphical desktop then you can use the log file viewer under system > administration. In log file viewer you can apply filters to show just SSH Login History.

Hope this Helps

Can you help with this problem?

Provide an answer of your own, or ask aneesh for more information if necessary.

To post a message you must log in.