How to Fix PVE Issues: ERROR: migration aborted

2021-09-24 22:11:47 # /usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=st-10' root@10.109.9.10 /bin/true
2021-09-24 22:11:47 root@10.109.9.10: Permission denied (publickey,password).
2021-09-24 22:11:47 ERROR: migration aborted (duration 00:00:00): Can't connect to destination address using public key
TASK ERROR: migration aborted

Enter the failed server
root@st -22:~#

ssh-keygen -t rsa

Retract y to generate public key

View public key

cat /root/.ssh/id_rsa.pub

Copy the public key and edit the public key into authorized_Keys file. Delete the wrong part.

Distribute authorized copies to various servers.

scp /root/.ssh/authorized_keys root@10.109.9.11:/root/.ssh/
scp /root/.ssh/authorized_keys root@10.109.9.12:/root/.ssh/
scp /root/.ssh/authorized_keys root@10.109.9.13:/root/.ssh/
scp /root/.ssh/authorized_keys root@10.109.9.14:/root/.ssh/
scp /root/.ssh/authorized_keys root@10.109.9.15:/root/.ssh/
scp /root/.ssh/authorized_keys root@10.109.9.16:/root/.ssh/
scp /root/.ssh/authorized_keys root@10.109.9.20:/root/.ssh/
scp /root/.ssh/authorized_keys root@10.109.9.21:/root/.ssh/
scp /root/.ssh/authorized_keys root@10.109.9.22:/root/.ssh/
scp /root/.ssh/authorized_keys root@10.109.9.23:/root/.ssh/
scp /root/.ssh/authorized_keys root@10.109.9.24:/root/.ssh/
scp /root/.ssh/authorized_keys root@10.109.9.25:/root/.ssh/
scp /root/.ssh/authorized_keys root@10.109.9.26:/root/.ssh/
scp /root/.ssh/authorized_keys root@10.109.9.30:/root/.ssh/
scp /root/.ssh/authorized_keys root@10.109.9.31:/root/.ssh/
scp /root/.ssh/authorized_keys root@10.109.9.32:/root/.ssh/
scp /root/.ssh/authorized_keys root@10.109.9.33:/root/.ssh/
scp /root/.ssh/authorized_keys root@10.109.9.34:/root/.ssh/
scp /root/.ssh/authorized_keys root@10.109.9.35:/root/.ssh/
scp /root/.ssh/authorized_keys root@10.109.9.36:/root/.ssh/

Read More: