[SOLVED] Regenerate and distribute host keys


Jan 9, 2019
Harrisburg, PA
I have been playing with adding/removing hosts within a PVE cluster. Somewhere along the lines the host keys were lost as I am unable to perform migrations between hosts with this error:

2019-06-07 09:46:40 # /usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=prdpvessd01' root@ /bin/true
2019-06-07 09:46:40 Host key verification failed.
2019-06-07 09:46:40 ERROR: migration aborted (duration 00:00:00): Can't connect to destination address using public key
TASK ERROR: migration aborted

I can open a shell console to and from each node without a password.


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!