I've set up mod_sftp with ProFTPD, and for some reason it still prompts me for a password when I connect.
This is my conf.d/myserver
file:
SFTPEngine on
SFTPLog /var/log/sftp.log
Port 7770
SFTPHostKey /etc/ssh/ssh_host_rsa_key
SFTPHostKey /etc/ssh/ssh_host_dsa_key
SFTPAuthorizedUserKeys file:/etc/proftpd/authorized_keys/%u
SFTPCompression delayed
MaxLoginAttempts 6
DefaultRoot ~
Umask 002
CreateHome on 770 dirmode 770
And the public key for the user is in /etc/proftpd/authorized_keys
.