Site Overlay

PROXMOX: REMOTE HOST IDENTIFICATION HAS CHANGED!

Problem with migration in Proxmox cluster:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
SHA256:RHydSQkm2jI+IGeNwUi1Br/K0kX6uoz47mxWzRhIzX1.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending RSA key in /etc/ssh/ssh_known_hosts:1
  remove with:
  ssh-keygen -f "/etc/ssh/ssh_known_hosts" -R "pve1"
RSA host key for pve1 has changed and you have requested strict checking.
Host key verification failed.




Solution:

Do it on destination node where migration has to be moved.

ssh-keygen -f "/etc/ssh/ssh_known_hosts" -R "pve1"
ssh -o 'HostKeyAlias=pve1' root@[ip_of_node_pve1]

Leave a Reply

Your email address will not be published.