Personal tools
You are here: Home Leocornus Leocornus Buildout Config Repository. Pure-FTPd as the FTP server

Pure-FTPd as the FTP server

— filed under:

Set up Pure-ftpd as the secure FTP server with the following features:

  • chroot for every connection.
  • Virtual User on top of one connection user
  • MySQL database to save virtual user's cridential and home folder
  • SSL/TLS connection only

Configurations for MySQL

The following target:

  • Compile with MySQL client lib
  • prepare the MySQL database schema
  • get ready the configuration file my MySQL connection
  • load the MySQL config file through the command line option

SSL/TLS setup

Mainly the following topics:

  • Enable tls during compiling
  • prepare the certificate file using OpenSSL or purchase from ISP
  • Turn on the tls connection through command line options

Options in Detail

This option has full name --chrooteveryone, which tells the meaning. It will force chroot for every user. When pick this option, pure-fptd has to be ran as root account.

Option -Y 3 will set PureFtpd to ONLY accept SSL/TLS compitable client. Check the following settings for FileZilla client:

  • Menu File -> Site Manager...
  • General tab
  • Protocol: FTP - File Transfer Protocol
  • Encryption: Require explicit FTP over TLS
  • Logon Type: Normal
  • input your account cridential



pure-ftpd downloads:

GitHub Page:

Document Actions