Skip to content

Setting Up ProFTPD on a Linux Server – Hosting a Secure FTP Service

Discover how to set up and manage a secure FTP server on Linux with ProFTPD to optimize file transfers and user access → Learn more now

12 November 20261 min read41 Views0 helpful

Introduction

FTP (File Transfer Protocol) is a network protocol used to transfer files over a TCP/IP network. The protocol was designed to enable easy file exchange between systems. With ProFTPD, you can set up such an FTP server on a Linux operating system. ProFTPD is easy to install and configure and offers many features such as creating user accounts, managing access rights, and transferring files. In this guide, we will show you how to install and configure ProFTPD on a Linux server.

How do I install the FTP server and add a user?

To add an FTP user, you first need to install the FTP server. Connect to your server once via SSH (e.g., with Putty).

To install the FTP server, enter the following command: apt-get install proftpd. Confirm the prompt with Y and press Enter:

Now we need to adjust the configuration. Open the configuration file with: nano /etc/proftpd/proftpd.conf and confirm. The file will then open in the Nano editor:

The following entries need to be added:

Now the FTP server must be restarted for the changes to take effect. Do this with the command: service proftpd restart

How do I add an FTP user?

To create a new FTP user, we first need to create an FTP group. This is done with the command addgroup ftpuser. It looks like this:

Now we can add our first FTP user with the commands adduser userftp -shell /bin/false -home /var/www and then adduser userftp ftpuser.

You will then be prompted to set a password:

Next, confirm that the entries are correct:

The last step is to assign the new user to the group via adduser userftp ftpuser:

Now you can connect using the configured credentials:

FAQ

Frequently asked questions

Connect to your server via SSH and install ProFTPD using the command apt-get install proftpd.
Open the configuration file with nano /etc/proftpd/proftpd.conf, make the necessary entries, and then restart the service with service proftpd restart.
First, create an FTP group with addgroup ftpuser, then assign individual FTP users to this group.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.