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.

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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page