Search The Hostwinds Guides Knowledge Base

Install ProFTPD (Debian 9)

Share This Article

This guide will walk you through ProFTPd server installation and configuration, showing you how to customize your FTP server’s actions by walking you through ProFTPd configuration.  

How To Install ProFTPd On Debian 9

Step 1: SSH into your Debian Installation 

Step 2 : Install Updates

Step 3: Install Proftpd

 

How To Configure Virtual Users and Directories

Step 1: First, we need to add a line to the /etc/shells file

Step 2: Then add the following line at the bottom

Step 3: Create the FTP directory

The FTP directory can be called anything you wish, but for now, we will call it FTP

Step 4: Create the directory for your virtual user

Replace <username> with what you would like your virtual user to be called

Step 5: Create the FTP virtual user

Replace <username> with what you would like your virtual user to be called and replace <password> with your desired password

Step 6: Make sure to change the permissions of the file to 777

How To Configure The ProFTPd Config File To Lock Each User In Their Directory

If you’re going to have multiple users, don’t forget to add those directories into the FTP directory. 

Step 1: Setting the DefaultRoot directory

Step 2: Uncomment the DefaultRoot option. It will look like this at first

Set it to this 

Step 3: Set the directory per  virtual user, at the bottom of this configuration file, add these lines.

Be sure to do this with each user

Be sure to replace <username> with the user(s) you created previously

Step 4: Starting the ProFTPd service

 

Related Articles