Setting Up FTP Server on Debian

Hi guys!

I had a task and that was to establish ftp server on a server ran on Debian Lenny OS. I just want to share my experience, maybe one of you meet the same task, so you don’t need to worry anymore. Ok, this is what I did :

  1. Install vsftpd package by running apt-get install vsftpd, if you’re not the root run it like this sudo apt-get install vsftpd.
  2. If you want to make your ftp open for public access, then you’ve done it! Just connect the server via ftp tools, fill in your host name, then fill the username field with ‘anonymous’ or ‘ftp’ and leave the password field blank, then connect. But, if you want to restrict the access with a certain account then continue the instruction.

  3. Make a new account, let’s say ‘ftp-user’. Run this command to create a new user adduser ftp-user. (again, if you’re not root user you have to put sudo in front of the command). Continue reading “Setting Up FTP Server on Debian”