

You will see the welcome text banner that you had wrote before. To do so, please type the following in your terminal and wait for something like this sudo telnel localhost 21 Though you will came to know form the previous step that your vsftpd is up and running, still we need to make sure that it is properly listening to port 21. This will restart the vsftpd service with the new configuration that we had made so far. To do so, please type the following in your terminal sudo service vsftpd restart Now, make sure you are restarting your vsftpd service to accept the changes that we had made so far. Press esc then press & hold shift button and then press : and then finally press x and then press enter. Here, I typed, “Welcome to TBDIT FTP service” for my own banner. Uncomment ftpd_banner and place your own welcome text. The above command will show last 20 lines dynamically for the FTP server log. To view the log file in real time, type the following command in the terminal sudo tail -f /var/log/vsftpd.log Uncomment line xferlog_file=/var/log/vsftpd.log for enabling log for your FTP server.įor viewing log files of vsftpd, please type the following command in the terminal sudo cat /var/log/vsftpd.log Then anyone can use the user name “anonymous” to login into your FTP server, which is a potential security threat.

Let’s change some parameter to configure it more to act like a real FTP server.īy changing the value to anonymous_enable=YES, you can enable anonymous user. If you are a CentOS/RedHat/Fedora user: sudo vim /etc/vsftpd/nf If you get an IP address from a DHCP server, then you may have IP address dynamically assigned to your interface and it will change time to time. Note: To begin, make sure you have a static IP address manually assigned on your interface on the machine where your Linux is running and where we are going to install vsftpd. I am using Ubuntu 14.04.3 LTS as my Linux distribution. I am assuming that you are running a Linux operating system distribution like Ubuntu, Debian, CentOS, RedHat or Fedora. We will use vsftpd so that it act like a FTP service on a server and hence we will call it FTP server. Your friend then can use a FTP client to download the file. So, you can upload your files on a FTP server that you have and you can provide a url/link of that file to your friend to download. The File Transfer Protocol (FTP) is a standard network protocol used to transfer computer files from one host to another host over a TCP-based network, such as the Internet or over LAN (Local Area Network). Today, we will walk thorough how to install, configure and test an ftp server.
