How to install and configure VSFTP servre in Ubuntu ?

Started by Dipak Bhoi, September 30, 2014, 03:26:53 PM

Previous topic - Next topic

Dipak Bhoi

Hello Gusy,

Install VSFTP server in Ubuntu will help to strongest protection against possible FTP vulnerabilities.

Steps to install and configure VSFTP :-

1. Install vsftpd package.

Quote#apt-get install vsftpd

2. Once vsftpd is installed, you need to configure it. Open the configuration file.

Quote#vi /etc/vsftpd.conf

3. Switch the Anonymous_enable from YES to NO.

Quoteanonymous_enable=NO

4. After that, uncomment the local_enable option, change it to yes and option write_enable to yes, means allow the users to write to the directory.

Quotelocal_enable=YES

Quotewrite_enable=YES

5. Set chroot_local_user to yes. It will be denied access of user to any other part of the server.

Quotechroot_local_user=YES

6. Save and Exit that file. Then restart vsftpd service.

Quoteservice vsftpd restart

7. That's all, now you can create a test user and connect it from another server or can use FTP client software such as FileZila to upload/dowload data.


Enjoy !!
MilesWeb - 30-Day Money Back
cPanel Web Hosting - cPanel Hosting in India
Grab a Free SSL for your website.  WordPress Optimized Solution.