Setting up FTP Server (VSFTPD) on Debian/Ubuntu

As the name suggest 'Very Secure File Transfer Protocol Deamon' (VSFTPD) is one of the most secure FTP daemons available, vsftpd is used as the default FTP server in the Ubuntu, CentOS, Fedora, NimbleX, Slackware and RHEL Linux distros. It is authorized under the GNU General Public License. It is secure and very quick and stable.

To check whether VSFTPD is available by default

sudo systemctl status vsftpd

Install vsftpd

sudo apt install vsftpd -y

Check agian whether vsftpd is running on the server

sudo systemctl status vsftpd

Configuration

To begin with the configuration, open the vsftpd.conf file by typing:

sudo vim /etc/vsftpd.conf

Uncomment this to enable any form of FTP write command.

write_enable=YES


Restart vsftp service

sudo systemctl restart vsftpd

By this configuration, your local user will become an FTP user. with that username and password, you will be able to upload, download files from your browser itself.

0 Komentar