Jump to content
Froxlor Forum
  • 0

Can't connect to froxlor clients via SFTP


AndrewL

Question

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.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...