paxswill / cluster-netboot

A Debian package for creating a netbooting ARM cluster
0 stars 0 forks source link

Force SSH host keys to be generated per-node #1

Closed paxswill closed 3 years ago

paxswill commented 3 years ago

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).