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!

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:
    166
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,216
    Likes Received:
    10
    Trophy Points:
    313
    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:
    166
    Location:
    Sweden
    Thank you so much David!

    Exactly what I was looking for!

    --Tone
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. ChrisRHS

    ChrisRHS Well-Known Member

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

    service pure-ftpd status
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. eth00

    eth00 Well-Known Member
    PartnerNOC

    Joined:
    Mar 30, 2003
    Messages:
    723
    Likes Received:
    1
    Trophy Points:
    168
    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.
     
    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