I’ve been trying to get this to work but I’m not educated enough in Debian I think…
So I’ve installed Debian 10 with the netinstall DVD 10.20 and installed no packages.
I’ve downloaded the install.sh file and executed it.
During the install (on the net part) the network card goes offline but I was able to get it back by doing an ifup ens192 and the intallation goes on without any errors.
I can do the installation wizard with no problems but when I go to the dashboard I see that the Proftpd service is not running.
I’ve investigated a bit using google and it has to do something with newer kind of certificates that have a new layout in the file and proftpd cannot use the new format.
If I installopenssh-sever (before install.sh script) there are some certificates that are not compatible. If I don’t installopenssh-server (before install.sh script) there are no certificates.
Output that I get for systemctl status proftpd.service (without openssh-server):
fatal: SFTPHostKey: unable to check /etc/proftpd/ssh_host_rsa_key no such file or directory
error: unable to open parse file /etc/proftpd/conf.d/virtualmin.conf Operation not permitted
fatal: SFTPHostKey: unable to check /etc/proftpd/ssh_host_ecdsa_key no such file or directory
@Nico94 as it said …can you read that error msg please…? ssh keys != propdf crapware to be able to read it… please note ssh is sftp but it is not ftps… not ssl ftp… that is very different… ftp is pure text and very dangerous even if doing via ssl - and via ssl its freaking awesome slow… only sys like 20 years behind uses in gpl version… to be honest if you use ftp or ftps - I would rather not host with you… thats how bad it is…
Not sure I fully understand your answer, sorry my English is probably not good enough.
Nobody is talking about doing FTP: the idea here is to make ProFTPD (but actually more specifically mod_sftp) working on “Debian 10 + Virtualmin” fresh installations … which is currently not the case: “out of the box” ProFTPD fails to start. This is so because ProFTPD’s mod_sftp does not support the keys as they are generated after Virtualmin’s install process.
This is my understanding of the current issue … but I might very well be wrong. If so, please correct me … or even better: if you have a better/safer workaround, feel free to share it
@unborn: ProFTP also supports FTP over ssh via the mod_sftp plugin, and we enable that feature on port 2222. This allows for people who don’t want to offer full ssh access to their users via ssh, but do want to offer FTP over SSH. It’s not dangerous, ProFTPd is well-maintained software with a pretty good security record. FTP without encryption is dangerous, but there are multiple ways to connect to FTP with encryption and we support two of them (FTP with SSL/TLS and FTP over ssh, via both openssh and proftpd). @Nico94 is right, you’re wrong (and unnecessarily grouchy about it).
I guess I need to update Virtualmin-Config to handle this better.
@Joe well in this case I am sorry and I do finally understand the whole thingy - years back I did thought that proftpd is only for ftp and sftp (ftp with ssl on top of it), but now I see… thanks for let me to learn my lesson… - you know I am old folk, using just ssh I left proftpd back in 2011 - that is the last time I’ve been using it - means I am perhaps obsolete in this discussion and wont be any help to fellow users. @Nico94 I am well sorry for my idiotic misunderstanding.