Active ftp sessions log

Discussion in 'General Server' started by TequilaSunrise, Dec 5, 2012.

  1. TequilaSunrise

    TequilaSunrise New Member

    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hello everyone,

    I'm running a CentOS dedicated server.
    I have WHM and cPanel installed.

    Inside cPanel, there's a section you see the "Active FTP Sessions".

    Is there a way to see this from the command line?

    If there is, I thought of doing a pipe of that into a text file.
    That way, I can review this text file later.


    Reason: I have various remote computers that upload a small piece of data every minute to the server.
    I have remote access to them.
    Yet if they stop uploading data for whatever the reason, I have no way of knowing their IP.
    ((yes, I know I can setup a DynDNS or something of the sort))

    Anyway, is there a way to check out active ftp sessions from the command line?

    Thank you very much!
  2. Unix4linux

    Unix4linux New Member

    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    The xferlog will contain connection information such as user, file transfers, login and logout times, failed login attempts, etc. If the account uses sftp, you can find account info in the secure log. These two log files are located in /var/log

    I hope this helps

    Sent from my SAMSUNG-SGH-I747 using Tapatalk 2

Share This Page