Is it possible to use SFTP with Virtualmin??

Hi fakemoth

In the bottom of the /etc/proftpd.conf file I have added the following lines

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

    # Configure both the RSA and DSA host keys, using the same host key
    # files that OpenSSH uses.
    #SFTPHostKey /etc/ssh/ssh_host_rsa_key
    #SFTPHostKey /etc/ssh/ssh_host_dsa_key

    #SFTPAuthMethods publickey

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

    # Enable compression
    SFTPCompression delayed

Have I commented to much out?

I have tried with filezilla as described in the tutorial URL you sent to me.
https://www.digitalocean.com/community/tutorials/how-to-configure-proftpd-to-use-sftp-instead-of-ftp

Network error:Software caused connection abort

I don’t get any popup regarding SSH keys?
The following error I see in the /var/log/proftp/sftp.log

Mar 16 15:55:50 mod_sftp/0.9.7[14209]: no available host keys, unable to handle session

I have also commented out the following line in /etc/ssh/sshd_config

Subsystem sftp /usr/lib/openssh/sftp-server

  • Tim