This is how you can enable hidden files(.htaccess) in ProFTPd.

Open proftpd.conf file and change ListOptions from -l to -a. Or if doesn’t exists add ListOptions -a to your proftpd.conf file.

nano /etc/proftpd/proftpd.conf


ListOptions "-l"


ListOptions "-a"

Now restart proftpd and it’s done.

/etc/init.d/proftpd restart
Stopping ftp server: proftpd.
Starting ftp server: proftpd.

In this giude I will show you how to install and use ProFTPd with TLS on Debian Linux Server.

FTP protocol is insecure because all passwords and data are transferred in clear text, but with TSL all date can be encrypted and that makes FTP much secure.

Step1. Install ProFTPd and OpenSSL.

apt-get install proftpd-basic openssl

When you will be asked to choose  standalone or from inetd choose standalone.(see photo)

Proftpd standalone

Step2. Create  SSL certificate that will be used for TLS. Continue Reading…

In this tutorial I will show you how to integrate ClamAV antivirus into PureFTPd on Debian for virus scanning on upload.

Step 1. First make sure you have followed this tutorial : How to install PureFTPd on Debian

Step2. Install ClamAV and update the virus signatures.

Install ClamAV:

apt-get install clamav

Now update the virus signatures:

# freshclam
ClamAV update process started at Wed Sep 19 10:49:29 2012
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.97.5 Recommended version: 0.97.6
main.cvd is up to date (version: 54, sigs: 1044387, f-level: 60, builder: sven)
daily.cld is up to date (version: 15370, sigs: 262330, f-level: 63, builder: jesler)
bytecode.cld is up to date (version: 190, sigs: 36, f-level: 63, builder: neo)

Step3. Configure PureFTpd to use ClamAV: Continue Reading…

Step1. Install ProFTPd:

apt-get install proftpd-basic

During installation you can choose to install as an inetd service,or a standalone server.  You will choose to install as Standalone  server.

Step2. Copy and rename the original configuration file for backup:

cp /etc/proftpd/proftpd.conf /etc/proftpd/proftpd.conf.bak

Step3. Edit the proftpd.conf file:

nano /etc/proftpd/proftpd.conf

And now change the following:

Continue Reading…

If users have access to the files on your server, but you don’t want they to be able to execute commands, you can limit access to  sftp only.

Add a user to your system as normal with a password and then run the following command:

usermod -s /usr/lib/sftp-server username

Then change add the following to /etc/shells to make it a valid shell:

echo '/usr/lib/sftp-server' >> /etc/shells

Now this user can only run the sftp server as shell



Page 1 of 212