LoadModule mod_sftp.c
LoadModule mod_sftp_pam.cSFTPEngine on
SFTPLog /var/log/proftpd/sftp.log
TransferLog /var/log/proftpd/xferlog-sftp.log
Port 2121
SFTPHostKey /etc/ssh/ssh_host_rsa_key
SFTPHostKey /etc/ssh/ssh_host_dsa_key
SFTPAuthorizedUserKeys file:~/.sftp/authorized_keys
SFTPCompression delayed
MaxLoginAttempts 3
<VirtualHost calls.example.net>
DefaultRoot ~
Umask 002
Port 2323
<LIMIT LOGIN>
AllowUser skype
</LIMIT>
<Directory /vhosts/calls.example.net/*>
<Limit DELE RMD XRMD>
DenyAll
</Limit>
</Directory>
</VirtualHost>