Errors migrating VMs and connecting to shell after network changes

samumsq

New Member
Aug 27, 2025
9
1
3
Hi everyone,

A few months ago we changed our proxmox networks in order to duplicate corosync network and separate migration and ssh connections from corosync network.
After the change we had to connect to each proxmox node and use this command ssh-copy-id root@"new_ip" to allow migrations and shell connections.
We had to do this because we had this error
root@"new_ip": Permission denied (publickey,password).
TASK ERROR: command '/usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=pve06-boa' -o 'UserKnownHostsFile=/etc/pve/nodes/pve06-boa/ssh_known_hosts' -o 'GlobalKnownHostsFile=none' root@"new_ip" pvecm mtunnel -migration_network 11.0.0.1/28 -get_migration_ip' failed: exit code 255

After using the command ssh-copy-id root@"new_ip" everything works for a few weeks, but after that randomly some nodes lost connection again and i have to connect and use the command to solve it.

I would like to know if there's something else we have to do to solve this error. Is there any proxmox command we have to execute?

Thanks in advance for your time and help