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

cryptoaccount

Registered
Jan 13, 2014
1
0
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?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
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.