FTP-Server under Debian setup – so go ahead
In a few steps, you can also work under Debian a FTP Server set up. For this purpose, there are various providers with whom you have a FT Server rent can.
- Then proceed as follows: Open the Terminal and load it with the command "sudo apt-get install proftpd-basic" in the required packages down.
- In connection, you must enter the following command to create a new configuration file:

Debian: FTP Server setup
- $ sudo vi /etc/proftpd/conf.d/custom.conf
- Require valid light off
- UseIPv6 off
- DefaultRoot ~ ftpuser
- DenyGroup !ftpuser
With "sudo service proftpd restart", the Changes are saved and the FTP Server is restarted. Thus, the data from ProFTP to be transmitted in encrypted form, with install the SSL-Protocol:
- sudo proftpd -vv | grep tls
- mod_tls/2.4.3
The following command creates a TLS connection:
- $ sudo vi /etc/proftpd/conf.d/tls.conf
- TLSEngine on
- TLSLog /var/log/proftpd/tls.log
- TLSProtocol TLSv1
- TLSRSACertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
- TLSRSACertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
- TLSVerifyClient off
- TLSRequired on
Then start the Server with "sudo service proftpd restart" and create the folder /var/www/upload FTP-user:
- sudo adduser ftpuser --shell /bin/false --home /var/www/upload
- Here you need to enter two Times the password, and the setup is complete.
- Tip: The 20 most important FTP commands can be found on the next page.
