Having Issues after node & cluster rename ~ Can't connect to destination address using public key


New Member
Sep 5, 2023
Hi. I followed the guide https://pve.proxmox.com/wiki/Renaming_a_PVE_node, and renamed my main node, and also my cluster name. When trying to move a vm back to the newly named node, I get the error

2023-09-04 21:09:39 # /usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=ravenclaw' root@ /bin/true
2023-09-04 21:09:39 Host key verification failed.
2023-09-04 21:09:39 ERROR: migration aborted (duration 00:00:00): Can't connect to destination address using public key
TASK ERROR: migration aborted

and I only have the option for an offline move, but the node has its green dot next to it.

Thanks for any help in advance!
You will probably need to remove the renamed host from the /root/.ssh/known_hosts file:

use the following command to remove the old hostname AND the IP from the file:

ssh-keygen -f /root/.ssh/known_hosts -R <host>
if your node is in the cluster. use the other ip of that node and then edit /etc/hosts

from to <other ip of that same node>
then restart pve-cluster service pve-cluster restart


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!