I can login to root and other ssh users using SFTP (ProFTPD) without a problem but I can't connect via sftp to any of the froxlor clients that I add via the panel though.

With some help from here, I did the following:

  1. Add the following to /etc/proftpd/modules.conf

    LoadModule mod_sftp.c

  2. Add the following to /etc/proftpd/sql.conf

    Include /etc/proftpd/sftp.conf

  3. Create file /etc/proftpd/sftp.conf with following content:

    <IfModule mod_sftp.c> SFTPEngine on SFTPLog /var/log/proftpd/sftp.log SFTPHostKey /etc/ssh/sshhostdsakey SFTPHostKey /etc/ssh/sshhostrsakey </IfModule>

  4. Restarted proftpd and ssh

If I try connecting via filezilla to a froxlor client with host sftp://server-ip username say, user1 and the user password, I get the following error:

Error:  Authentication failed.
Error:  Critical error: Could not connect to server

Please let me know if there's any info, logs, config, etc you would want me to provide.


I had the same error.


Do NOT put the Include /etc/proftpd/sftp.conf in the IfModule mod_sql.c section.

Place the include command in a new line after the IfModule mod_sql.c tag.

| improve this answer | |
  • I have switched from Froxlor to Webmin unfortunately. But if this answer gets 4 upvotes or more from the community, I will mark it as the right answer :) Cheers – AndrewL64 Mar 29 '16 at 19:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.