The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    6
    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,475
    Likes Received:
    20
    Trophy Points:
    38
    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.
     
Loading...

Share This Page