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 commands ?

Discussion in 'General Discussion' started by Hostbox.be, Sep 6, 2005.

  1. Hostbox.be

    Hostbox.be Well-Known Member

    Joined:
    Nov 4, 2002
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    156
    Hi

    is it possible to log all SSH commands executed by customers ?
    I want to give some of my clients ssh access, but I want to screen there commands to see if they don't abuse it.

    Thanks for the info !
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,470
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Not directly, AFAIK. You can view what shell commands they use by looking in their .bash_history files, though they can be deleted. You can also use tools such as sar and laus to track binary executions.
     
    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