[BUG] Updating to Firmware V1.5.0 release1 has changed the ssh host key and removed directory /root/.ssh AGAIN

Updating to Firmware V1.5.0 release1 from V1.4.2 has overwritten the following files AGAIN!

  • /etc/kvmd/nginx/ssl.conf
  • /etc/ssh/ssh_host_key
  • /etc/ssh/ssh_host_rsa_key
  • /etc/ssh/ssh_host_dsa_key
  • /etc/ssh/ssh_host_ecdsa_key
  • /etc/ssh/ssh_host_ed25519_key

And it removed the directory /root/.sshIt locks out my server certificates auto update script via scp with an identity file.

Developers. You made a promise it won’t happen again!!! This is the third time you break your promise!!!

Please add a testing for verifying these files!

I'd add /root/.ssh/authorized_keys to the list that shouldn't change.

Basically, anything not displayed on the UI will not be saved by default after an upgrade. I do think this can be optimized, but I don’t recall having promised anything about it.

Such modifications might not be added until version 1.8

Yes, I listed it separately in the first post. It does not change the file. It removed the whole directory /root/.ssh instead! I have put it in the subject.

Yes, you did promise these issues should not happen again.

minmie, GL.iNet Staff wrote, “Will not regenerate tls cert after 1.4.0”

minmie GL.iNet Staff Aug 22 wrote "We should make this change. The only difference lies in whether we provide a non-overwriting version in advance or wait until SSH keys can be configured via the WEB UI."