[SOLVED] Regenerate and distribute host keys

bensode

Member
Jan 9, 2019
61
4
13
54
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:

Code:
2019-06-07 09:46:40 # /usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=prdpvessd01' root@10.0.3.145 /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.