See title. Probably implement by bind mounting files from /var (like say /var/etc/ssh/ssh_host_{ecdsa,ed25519,rsa}{,.pub}) over the specific files in/etc. Another option might be to add drop-in config files to/etc/ssh/sshd_config.d/setting theHostKeyoption (while also figuring out a way to remove previousHostKey` entries).
See title. Probably implement by bind mounting files from
/var
(like say/var/etc/ssh/ssh_host_{ecdsa,ed25519,rsa}{,.pub}) over the specific files in
/etc. Another option might be to add drop-in config files to
/etc/ssh/sshd_config.d/setting the
HostKeyoption (while also figuring out a way to remove previous
HostKey` entries).