I have a small proxmox cluster, and i have a strange error migrating lxc from a node to another.
The migration goes well, the lxc container starts and it's fully functional, BUT, if i try to access it from proxmox terminal, it gives me this error:
I've tried anything with ssh-keygen and ssh-keyscan and to me it seems all ok.
Both the lxc and the node have the correct keys.
I can connect with ssh to the lxc and i don't have any issue. Just this one.
And if i migrate the lxc back to the original node, the problem doesn't show anymore.
EDIT: maybe i'm an idiot, but accessing proxmox interface from the ip of the node where i moved the lxc, the terminal issue is gone.
EDIT2: node2 is the newest node in the cluster. If i connect to his ip to access proxmox webconsole then i can freely access terminal for every lxc in every node.
If i connect to the webconsole from node1, then i can access terminal only for the lxc/vm on node1 and not the ones on node2.
Before creating the cluster, node1 was (obviously) a standalone node. I've changed his name and ip following the guides. Could it be that the issue is correlated to this change? Can i make some corrections to node1 to avoid the issue?
Every help is wall accepted :-D
The migration goes well, the lxc container starts and it's fully functional, BUT, if i try to access it from proxmox terminal, it gives me this error:
Code:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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:#############################
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:2
remove with:
ssh-keygen -f "/etc/ssh/ssh_known_hosts" -R "192.168.0.2"
Host key for 192.168.0.2 has changed and you have requested strict checking.
Host key verification failed.
I've tried anything with ssh-keygen and ssh-keyscan and to me it seems all ok.
Both the lxc and the node have the correct keys.
I can connect with ssh to the lxc and i don't have any issue. Just this one.
And if i migrate the lxc back to the original node, the problem doesn't show anymore.
EDIT: maybe i'm an idiot, but accessing proxmox interface from the ip of the node where i moved the lxc, the terminal issue is gone.
EDIT2: node2 is the newest node in the cluster. If i connect to his ip to access proxmox webconsole then i can freely access terminal for every lxc in every node.
If i connect to the webconsole from node1, then i can access terminal only for the lxc/vm on node1 and not the ones on node2.
Before creating the cluster, node1 was (obviously) a standalone node. I've changed his name and ip following the guides. Could it be that the issue is correlated to this change? Can i make some corrections to node1 to avoid the issue?
Every help is wall accepted :-D
Last edited: