Proxmox Host SSH keys
Intended method:
Delete old ssh host keys:
rm /etc/ssh/ssh_host_*
Reconfigure OpenSSH Server:
dpkg-reconfigure openssh-server
Update all ssh client(s) at ~/.ssh/known_hosts
Then update certs and keys on each machine:
pvecm updatecerts -f
Manual method[1]:
If this fails (which it might), log into each troublesome node through SSHd and copy the public key from
/etc/ssh/ssh_host_rsa_key.pub.
Copy this to
/etc/pve/nodes/<node>/ssh_known_hosts
and prepend it with that machine's hostname. Assuming a hostname of pve1, this line should appear as
pve1 ssh-rsa <key>
Then restart the SSH daemon:
systemctl restart sshd