[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

proftpd mod_sftp broken in buster?



Hi there!

Anyone else having trouble with setting up sftp using proftpd on buster?


<VirtualHost 192.168.1.15>
        DefaultRoot             ~
        RequireValidShell       off

        SFTPEngine              on
        Port                    2222
        SFTPLog                 /var/log/proftpd/sftp.log

        SFTPHostKey             /etc/ssh/ssh_host_rsa_key

        SFTPAuthMethods         publickey keyboard-interactive

        #SFTPAuthorizedUserKeys file:/etc/proftpd/authorized_keys/%u

        # Enable compression
        SFTPCompression delayed

</VirtualHost>


Jul 15 12:49:52 web15 systemd[1]: Starting LSB: Starts ProFTPD daemon...
Jul 15 12:49:52 web15 proftpd[2599]: Starting ftp server: proftpd2019-07-15 12:49:52,667 web15 proftpd[2606]: processing configuration directory '/etc/proftpd/conf.d/' Jul 15 12:49:52 web15 proftpd[2599]: Wrong passphrase for this key. Please try again. Jul 15 12:49:52 web15 proftpd[2599]: Wrong passphrase for this key. Please try again. Jul 15 12:49:52 web15 proftpd[2599]: Wrong passphrase for this key. Please try again. Jul 15 12:49:52 web15 proftpd[2599]: 2019-07-15 12:49:52,674 web15 proftpd[2606] web15.mm-com.de: mod_sftp/1.0.0: error reading passphrase for SFTPHostKey '/etc/ssh/ssh_host_rsa_key': (unknown) Jul 15 12:49:52 web15 proftpd[2599]: 2019-07-15 12:49:52,674 web15 proftpd[2606] web15.mm-com.de: mod_sftp/1.0.0: unable to use key in SFTPHostKey '/etc/ssh/ssh_host_rsa_key', exiting
Jul 15 12:49:52 web15 proftpd[2599]: .
Jul 15 12:49:52 web15 systemd[1]: Started LSB: Starts ProFTPD daemon.


--
Mit freundlichen Grüßen / best regards
Markus Raps


Reply to: