How to Install and Configure vsftpd FTP Server on Ubuntu 14.04

The File Transfer Protocol (FTP) is a standard network protocol used to transfer files from one machine to another machine or server. If you plan to manage your own virtual private server (VPS) or dedicated server to host your blog or website, i would suggest you install ftp service. It will be easy for you to retrieved and upload any files to the VPS server. This post describes the steps to install and configure vsftpd FTP Server on Ubuntu 14.04.

1. Install vsftpd FTP service :

ehowstuff@ubuntu14:~$ sudo apt-get install vsftpd -y

2. Open vsftpd.conf and uncomment the following :

ehowstuff@ubuntu14:~$ sudo vi /etc/vsftpd.conf

Uncomment below and add two last line :


3. Allow user to access their home directory :

ehowstuff@ubuntu14:~$ sudo vi /etc/vsftpd.chroot_list

Add ehowstuff :


4. Restart vsftpd to take afffect :

ehowstuff@ubuntu14:~$ sudo initctl restart vsftpd
vsftpd start/running, process 1988

5. Verify the ftp port listening or not :

ehowstuff@ubuntu14:~$ telnet localhost 21
Trying ::1...
Connected to localhost.
Escape character is '^]'.
220 (vsFTPd 3.0.2)
telnet> quit

6. Test from Windows Client :

Connected to
220 (vsFTPd 3.0.2)
User ( ehowstuff
331 Please specify the password.
230 Login successful.
ftp> pwd
257 "/home/ehowstuff/public_html"

Thats all.

READ  How to Install crontab on CentOS 6.2


2 comments on “How to Install and Configure vsftpd FTP Server on Ubuntu 14.04

  • Lawrence

    after doing the step 2.. how will i comeback to “ehowstuff@ubuntu14:~$” to type the syntax “sudo vi /etc/vsftpd.chroot_list” any help pls? 🙂

    • artur

      sudo nano /etc/vsftpd.chroot_list

Leave a Reply to Lawrence Cancel Reply

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

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>