How to install & configure VSFTP ( Very Secure FTP )

In our last tutorial on File Sharing, we discussed Network File System (NFS). Now, we will learn to install & configure VSFTP (aka Very SecureFTP) in this tutorial. But first we must know what is FTP

The File Transfer Protocol (FTP) is a standard network protocol used to transfer computer files between a client and server on a computer network. It is built on a client-server model architecture and uses separate control and data connections between the client and the server.

Since ftp is rather insecure, we must either use our ftp over SSL/TLS or we can use best alternative to FTP i.e. VSFTP. Its designed to have strongest protection against over FTP vulnerabilities & can be used to share data globally.


VSFTP can be installed using following command on Centos/RedHat

yum install vsftpd -y
yum install ftp -y                                                                                    (to connect to server)


One thing to consider after installing VSFTP is that if we want anonymous-login on our ftp or not.

Firstly, we will discuss to configure with anonymous disabled & later we will also discuss enabling anonymous-login. Now, lets move on to configuring VSFTP. Open configuration file for vsftp

vi /etc/vsftpd/vsftpd.conf

then disable anonymous access , change following parameter to no


and change following parameter to yes


Then, restart server to implement changes

service vsftpd restart
chkconfig vsftpd on

That’s it, our secure FTP is ready . Now lets try to access it

Accessing FTP

Accessing VSFTP through browser                 or               

Accessing VSFTP through Command line

To use VSFTP in Command line, use following commands

get filename                                                          to download a file
put filename                                                         to upload a file
bye                                                                            to exit/quit ftp

So this completes our tutorial on how to install & configure VSFTP, next up is configuring FTP anonymous access ‘enabled. If having any queries/comments, use comment box down below.


If you think we have helped you or just want to support us, please consider these :-

Connect to us: Facebook | Twitter | Google Plus

Donate us some of you hard earned money:

Linux TechLab is thankful for your continued support.


Passionate about Linux & open source. Loves to learn, read & write about Linux as well as new technologies.

You may also like...

Leave a Reply

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