LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   command for ssh connections (https://www.linuxquestions.org/questions/linux-software-2/command-for-ssh-connections-688435/)

AutoC 12-04-2008 11:06 PM

command for ssh connections
 
Is there a linux command to view the ssh connections that have been made in the past to ure computer?

Linux von Scratchen 12-04-2008 11:16 PM

less /var/log/auth.log may show what you need. If it has too much crap, distill it down with:
grep sshd /var/log/auth.log | less

disclaimer: i'm no expert at this sorta stuff, but this is one thing that worked for me.

hasanatizaz 12-05-2008 12:21 AM

/var/log/secure


All times are GMT -5. The time now is 01:43 AM.