
In this example, we will create a new user called meilana: $ sudo useradd -m meilana We will now create a new user that we will use to log into FTP. sudo ufw allow from any to any port 20,21,10000:10100 proto tcp If you haven’t already done so, it is recommended that you enable the ufw firewall for Ubuntu 20.04. With the configuration file saved, restart vsftpd apply the new changes: sudo systemctl restart vsftpd Rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key Rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem Add/modify the following options with these values:

Many of the settings you’ll configure are well documented in there. You’ll find its main configuration file at /etc/nf. Install the vsftpd package using the apt command below: sudo apt install vsftpdĪfter installing VSFTPD, the commands below can be used to stop, start and enable the server service to always start up when the server boots: sudo systemctl start vsftpd First, make sure that all your system packages are up-to-date by running the following apt commands in the terminal. Install FTP Server on Ubuntu 20.04 LTS Focal Fossa

We recommend acting as a non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root. A non-root sudo useror access to the root user.

