1. Open configuration file.
2. Add the following lines.
3. There are optional commands.
4. Restart the service.
or
Code:
nano -w /etc/proftpd.conf
Code:
<IfModule mod_tls.c>
TLSEngine on
TLSRequired off
TLSVerifyClient off
TLSCipherSuite HIGH:MEDIUM:+TLSv1:!SSLv2:+SSLv3
TLSRSACertificateFile /etc/ftpd-rsa.pem
TLSRSACertificateKeyFile /etc/ftpd-rsa-key.pem
</IfModule>
Code:
<Global>
ListOptions "-a"
AllowStoreRestart On
TimeoutNoTransfer 1800
TimeoutIdle 1800
</Global>
# ListOptions "-a" -- Force directory listings to always show dotfiles
# AllowStoreRestart On -- Allow clients to resume uploads
Code:
/etc/init.d/proftpd restart
Code:
service proftpd restart