Need help?
04 311 6784
Online Support Linux Servers

Configuring vsftpd FTP Server on Ubuntu or Debian

You can configure a vsftpd FTP Server on Ubuntu/Debian by following these instructions:

  1. The default vsftpd configuration file is /etc/vsftpd.conf. You need to edit this file using a text editor such as VI using the following command:
    $ sudo vi /etc/vsftpd.conf
  2. To allow local users to log in via ftp, add the following line to the vsftpd configuration file:
    local_enable=YES
  3. If you would like to allow users to upload files, add the following:
    write_enable=YES
  4. For security you may restrict local users to their home directories. To do that, add the following to the file:
    chroot_local_user=YES
  5. Save and close the file.
  6. Restart vsftpd service using the following command:
    $ sudo service vsftpd restart

Congratulations, you have configured vsftpd FTP Server on Ubuntu/Debian.

Was this helpful? Yes No 89% of people found this helpful.
we're
online
Need Help? Chat Now