Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Logging SSH

Discussion in 'General Discussion' started by Pryach, Feb 5, 2005.

  1. Pryach

    Pryach Member

    Joined:
    Feb 5, 2005
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    151
    Is there any way to log all commands typed in by users in SSH? I have a user who wants SSH to do somethings but I want to make sure he's not doing anything bad.
     
  2. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    4
    Trophy Points:
    343
    Location:
    ON, Canada
    All shell action is logged in the file at:
    /home/username/.bash_history
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice