ubuntu command to show ssh login history
Asked by
aneesh
on 2010-05-13
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:
- 2010-05-13
- Last reply:
- 2010-05-13
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.