Virtualmin bug on Debian 10


When installed on Debian 10 the proftpd service will not start.

After debugging this it does not start because it is unable to read the keys from:
SFTPHostKey /etc/proftpd/ssh_host_rsa_key
SFTPHostKey /etc/proftpd/ssh_host_ecdsa_key

On Debian 10 the SSH keys are no longer the RSA/DSA format. Instead they are of this format:

Proftpd is unable to read them so it fails to start.

A manual solution to this is to regenerate the 2 keys and specify rsa and dsa format is required.

Not sure how to report this to the Virtualmin team but hopefully they will read it.

1 Like

Thanks for the heads up.

@Joe do you think we should tweak it specifically for Debian 10?

Maybe this helps : Debian 10 - Proftpd not starting on new install