vsftpd is a lightweight FTP server for linux
Installing vsftpd is easy. Simply issue the following command from SSH:
sudo box install vsftpd
vsftpd will be installed from your operating system's package repository and can be kept up-to-date with the rest of your operating system's packages.
By default, we ship vsftpd with a pretty light configuration. FTP(S) is enabled by default. If you are having troubles connecting to your server via FTP, please make sure your client supports the key ciphers in use on your server. The configuration file for vsftpd lives at:
After altering the configuration file, restart vsftpd to make the changes take effect.
Enable FXP Support
FXP support is not enabled by default. To enable it, uncomment the lines (remove the
#) in your
Changing the default port
If you want to change the port used by vsftpd, uncomment and add a port to the line in your
If you'd like to lock ftp users to their home directory to prevent snooping around your server, add these lines to your
Please be aware that FTP and SFTP are separate protocols. If you enable chroot on your FTP server, your SFTP server will still not be using jails by default.
Service management is done by systemd with the default vsftpd.service file.
The systemd service file resides at:
sudo systemctl start vsftpd
sudo systemctl stop vsftpd
sudo systemctl restart vsftpd
sudo systemctl enable vsftpd
sudo systemctl disable vsftpd