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.

Installation

VSFTP can be installed using following command on Centos/RedHat

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

Configuration

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

anonymous_enable=NO

and change following parameter to yes

local_enable=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

ftp://192.168.1.100                 or                         ftp://ftp.linux.com

Accessing VSFTP through Command line

ftp://192.168.1.100

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.

Shusain

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

You may also like...

2 Responses

  1. February 3, 2018

    […] 现在客户机可以通过 ftp 接收升级了。要配置 vsftpd 服务器为其他 Linux 系统分享文件,请阅读这篇指南。 […]

  2. February 6, 2018

    […] 现在客户机可以通过 ftp 接收升级了。要配置 vsftpd 服务器为其他 Linux 系统分享文件,请阅读这篇指南。 […]

Leave a Reply

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