Important Pure-FTPd command line options
Pure-FTPd is a free, secure, production-quality, and standard-compliant FTP server. It supports a wide array of features and configurations. Below are some of the most important command-line options for running and managing Pure-FTPd:
Starting and Stopping the Server
-l
: Specify the list of authentication methods (e.g.,pam
,puredb
,mysql
).-A
: Enables automatic creation of user directories.-d
: Enable debugging mode for verbose output, useful for troubleshooting.-E
: Disable anonymous logins.-e
: Redirect logs to the syslog.-F
: Run in the foreground (do not daemonize).-h
: Show the help message with available options.-k
: Enable FTP over SSL/TLS.-P
: Specify the public IP address for the server. Useful for NAT configurations.-p
: Define the port or port range for the FTP service.-r
: Enable support for IPv6.-s
: Enable the use of a chroot environment for users. This restricts them to their home directories.-T
: Enable a custom banner for the FTP server.-x
: Disable IP spoofing protection.-Y
: Enable support for FTP over TLS/SSL.-y
: Disable support for FTP over TLS/SSL.
Configuration Files
/etc/pure-ftpd/pure-ftpd.conf
: The primary configuration file for Pure-FTPd where most server settings are defined.
Examples
Run Pure-FTPd with SSL/TLS Support and in Debug Mode:
Run Pure-FTPd in Foreground with Specified Port and Public IP:
Start Pure-FTPd with Chroot Environment and Disable Anonymous Logins:
Summary
Pure-FTPd offers a variety of command-line options to configure its behavior and features. From enabling SSL/TLS encryption to setting up IPv6 support and controlling the FTP service's behavior, these options allow for fine-tuned management of the FTP server. For production use, it's crucial to configure Pure-FTPd according to your specific needs and security requirements.
Last updated