Find the answer to your Linux question:
Results 1 to 4 of 4
Is there a linux tool to view what users are doing when users are using SSH? (i.e. what files are they accessing/download from the server? etc ...) Thanks for the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    lts
    lts is offline
    Just Joined!
    Join Date
    May 2009
    Posts
    2

    [SOLVED] view what users are doing over SSH?


    Is there a linux tool to view what users are doing when users are using SSH? (i.e. what files are they accessing/download from the server? etc ...)

    Thanks for the help

  2. #2
    Linux User Krendoshazin's Avatar
    Join Date
    Feb 2005
    Location
    London, England
    Posts
    471
    No I don't believe there is. The whole point of the connection being encrypted is so that nobody can see what you're doing, that includes anyone on the host system.

  3. #3
    Linux Guru bigtomrodney's Avatar
    Join Date
    Nov 2004
    Location
    Ireland
    Posts
    6,132
    Something I came across this week:

    If you have users connected over sftp/ssh for file transfers they don't show up as logged in and therefore won't show up when you run the who command. You can run
    Code:
    ps aux |grep sshd
    and you'll see who's connected to your system. Not quite what you were looking for but thought I'd share

  4. #4
    lts
    lts is offline
    Just Joined!
    Join Date
    May 2009
    Posts
    2
    Sorry for taking too long to response back, my HDs kept dying. It took a while for recovering, and restoring all the files.

    Quote Originally Posted by bigtomrodney View Post
    Something I came across this week:

    If you have users connected over sftp/ssh for file transfers they don't show up as logged in and therefore won't show up when you run the who command. You can run
    Code:
    ps aux |grep sshd
    and you'll see who's connected to your system. Not quite what you were looking for but thought I'd share
    Thanks for sharing bigtom, what I'm looking for probably an auditing tool. I did not have a chance to evaluate all the tools available yet.

    Thanks everyone for replying to this thread. Consider this thread as SOLVED.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •