LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Can I see ssh connections? (https://www.linuxquestions.org/questions/linux-networking-3/can-i-see-ssh-connections-117871/)

bruno buys 11-19-2003 01:31 PM

Can I see ssh connections?
 
How can I see the users logged in my ssh server, and what they are doing in real time?

trickykid 11-19-2003 02:22 PM

who - will show current logged in users
last - will show all logins from a period of time, etc

Can't think of any others off top of my head but those might help. man pages will show more options, etc.

GetCool 11-19-2003 02:25 PM

On this note, where is the log located that tracks logins?

trickykid 11-19-2003 02:43 PM

Quote:

Originally posted by GetCool
On this note, where is the log located that tracks logins?
/var/log/wtmp is where the last info is stored by default if that is what your looking for.

GetCool 11-19-2003 02:46 PM

Quote:

Originally posted by trickykid
/var/log/wtmp is where the last info is stored by default if that is what your looking for.
Thanks!


All times are GMT -5. The time now is 04:16 AM.