Enable FTP for EasyEngine Website

To Enable FTP for EasyEngine web sites, we need to install pure-ftpd. On Ubuntu/Debian, run

Enable virtial FTP users

In EasyEngine, we sites files are owned by www-data user, this user have a UID of 33. By default pure-ftpd won’t allow this. To enable users with UD 33 to login, run

Now lets create FTP user for a web site running in EasyEngine.

In above command replace

FTP_USER_HERE = FTP user for the web site, this can be any name, no space

DOMAIN_NAME_HERE = the domain name of the web site that is hosted in EasyEngine, that you need FTP access.

When you run above command, you will be asked to select password for the FTP user, this can be used to login to FTP server.

Before you can login to FTP server with newly created virtual FTP user, you need to run

Change FTP Password

If you want to change FTP user for a user, you can run

Passive FTP Configuration

Many cloud hosting providers like AWS, Google Cloud, Oracle Cloud, AliCloud servers use NAT networking. That is your VM have private IP and your public IP is routed to your VM. In such case, you need to enable Passive FTP, for this run

YOUR_PUBLIC_IP = replace this with your public IP address.

Restart pure-ftpd

Firewall configuration

For Passive FTP, you need to open following ports in your firewall

On Oracle Cloud server, i edited file

Find

Replace with

Now restore firewall rules with

Now FTP will work.

See EasyEngine

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *