

When this option is enabled you need to explicitly specify which users are able to log in by adding the user names to the /etc/er_list file (one user per line). Userlist_enable = YES userlist_file = /etc/er_list userlist_deny = NO We’ll allow access to the FTP server only the local users, find the anonymous_enable and local_enable directives and verify your configuration match to lines below: Start by opening the vsftpd configuration file: sudo nano /etc/nf 1. In the following sections, we will go over some important settings needed to configure a secure vsftpd installation. For all available options visit the official vsftpd Most of the settings are well documented inside the configuration file. The vsftpd server can be configured by editing the /etc/nf file. Loaded: loaded (/lib/systemd/system/rvice enabled vendor preset: enabled)Īctive: active (running) since Mon 03:38:52 PDT 10min ago The output will look something like below, showing that the vsftpd service is active and running: * rvice - vsftpd FTP server Verify it by printing the service status: sudo systemctl status vsftpd Vsftpd service will automatically start after the installation process is complete. To install it, simply run the following commands: sudo apt update sudo apt install vsftpd The vsftpd package is available in the Ubuntu repositories. We will also show you how to configure vsftpd to restrict users to their home directory and encrypt the entire transmission with SSL/TLS.Īlthough this tutorial is written for Ubuntu 18.04 the same instructions apply for Ubuntu 16.04 and any Debian based distribution, including Debian, Linux Mint and Elementary OS.įor more secure and faster data transfers, use SCPīefore continuing with this tutorial, make sure you are logged in as a user with sudo privileges It is a stable, secure and fast FTP server. In this tutorial, we’ll be installing vsftpd (Very Secure Ftp Daemon).


The most popular and widely used are PureFTPd There are many open-source FTP servers available for Linux. FTP (File Transfer Protocol) is a standard network protocol used to transfer files to and from a remote network.
