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.

SFTP Logging

Discussion in 'General Discussion' started by BMR777, Feb 15, 2010.

  1. BMR777

    BMR777 Member

    Joined:
    Nov 26, 2008
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    Where are the logs from SFTP logins kept on the server or how do I enable logging of these connections? In CPanel's FTP logs it does not show logins from SFTP.

    Thanks. :)
     
  2. ilw

    ilw Registered

    Joined:
    Oct 11, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    somebody nows?
     
  3. ilw

    ilw Registered

    Joined:
    Oct 11, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
  4. LDHosting

    LDHosting Well-Known Member

    Joined:
    Jan 19, 2008
    Messages:
    93
    Likes Received:
    2
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    sftp logins will be shown in /var/log/secure

    The entries will look something like this

    Code:
    sshd[1484]: Accepted password for auser from 123.123.123.123 port 4552 ssh2
    sshd[1484]: pam_unix(sshd:session): session opened for user auser by (uid=0)
    sshd[1486]: subsystem request for sftp
     
  5. ilw

    ilw Registered

    Joined:
    Oct 11, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    I post this answer already a few minutes ego but the message went to the moderator..

    Thank you anyway.
     
Loading...

Share This Page