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.

Question: Serverwide FTP Session control?

Discussion in 'General Discussion' started by Valuehosted, Apr 23, 2009.

  1. Valuehosted

    Valuehosted Well-Known Member

    Joined:
    Dec 12, 2002
    Messages:
    124
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Sweden
    Is it possible to do a serverwide FTP session control listing all current ftp logins and transfers either in WHM (preferably) or via SSH?

    Thank you,
    Tony Lindskog
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    This is not supported in WHM, but you can do this via SSH as root.

    If you are using ProFTPD, you would use:

    Code:
    /usr/bin/ftpwho
    If you are using PureFTPd, you would use:

    Code:
    /usr/sbin/pure-ftpwho
     
  3. Valuehosted

    Valuehosted Well-Known Member

    Joined:
    Dec 12, 2002
    Messages:
    124
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Sweden
    Thank you so much David!

    Exactly what I was looking for!

    --Tone
     
  4. ChrisRHS

    ChrisRHS Well-Known Member

    Joined:
    Jul 12, 2006
    Messages:
    292
    Likes Received:
    5
    Trophy Points:
    18
    This command works the same, for pure-ftpd of course:

    service pure-ftpd status
     
  5. eth00

    eth00 Well-Known Member
    PartnerNOC

    Joined:
    Mar 30, 2003
    Messages:
    723
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    NC
    cPanel Access Level:
    Root Administrator
    FTP also logs everything to /var/log/messages so you can grep it if you would like to look at what has been run in the recent (or not so recent) past.
     
Loading...

Share This Page