Installing an FTP server (vsftpd) on Ubuntu 18.04 / 19.10

Installing an FTP server (vsftpd) on Ubuntu 18.04 / 19.10

vsftpd (Very Secure File Transfer Protocol Daemon) is a popular FTP server for Ubuntu. In this guide we will install and configure vsftpd on Ubuntu 18.04 / 19.10. We will also set up an FTP user and optionally configure SFTP for secure file transfers.

Install vsftpd

Let’s begin by updating the package lists and installing vsftpd on Ubuntu 18.04 / 19.10.

Below we have two commands separated by &&. The first command will update the package lists to ensure you get the latest version and dependencies for vsftpd. The second command will then download and install vsftpd. Press y and ENTER when asked to continue.

sudo apt update && sudo apt install vsftpd

Once installed, check the status of vsftpd

sudo service vsftpd status
 vsftpd.service - vsftpd FTP server
   Loaded: loaded (/lib/systemd/system/vsftpd.service; enabled; vendor preset: enabled
   Active: active (running) since Tue 2018-04-17 15:23:22 UTC; 10s ago
 Main PID: 31602 (vsftpd)
   CGroup: /system.slice/vsftpd.service
           └─31602 /usr/sbin/vsftpd /etc/vsftpd.conf

Apr 17 15:23:22 myserver systemd[1]: Starting vsftpd FTP server...
Apr 17 15:23:22 myserver systemd[1]: Started vsftpd FTP server.

Above we can see our FTP server is now up and running.

Leave a Reply

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