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!

How to restrict FTP access via SSH (Pure-FTPD)?

Discussion in 'General Discussion' started by cryptoaccount, Jan 13, 2014.

  1. cryptoaccount

    cryptoaccount Registered

    Joined:
    Jan 13, 2014
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hello,

    I am managing a server via WHM and have root access.
    How do I restrict the access to FTP area (Pure-FTPD is FTP server type) to particular IPs only?
    Editing Host Access Control for FTP daemon does not do this.

    I believe this should be done trough SSH command lines. But since I am very new to these command lines, could you, please, guide me how should I handle this?
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    You should be able to restrict FTP access via "Host Access Control" in Web Host Manager. Could you share a screenshot of the rules you have setup for FTP or post the FTP rules listed in the /etc/hosts.allow file so we can verify the exact configuration you are using?

    Thank you.
     
    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