Console doesn't work from one node to another

Doug Curtis

Active Member
Sep 30, 2017
4
1
43
51
I'm pretty new to the Proxmox environment. I've setup a cluster with two nodes with shared storage. Most everything is working fine except if I am logged into node 1 and try to open a console for a VM on node 2, I receive a message that says "Failed to connect to server". However, if I login to node 2 and open a console for a VM on node 1, it works. From node 2, I can open a console on a VM that is on node 2 or node 1 but I can only open a console for node 1 VMs when logged into node 1.

Any help would be appreciated. Thanks
 
does the passwordless ssh connection from node1 to node2 work? this is necessary to tunnel the vnc connection from one host to another
as root on node1 do:
Code:
ssh -T -o 'BatchMode=yes' <ip-of-node2>
 
  • Like
Reactions: Petr.114
Looks like the ssh pub key node1 has for node2 is incorrect:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 ECDSA key sent by the remote host is
SHA256:cDoD0G/iTR0P5LgL+wODRZ7XGXrqMrLXVl1hrLmdhXw.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /root/.ssh/known_hosts:2
remove with:
ssh-keygen -f "/root/.ssh/known_hosts" -R 192.168.1.88
ECDSA host key for 192.168.1.88 has changed and you have requested strict checking.
Host key verification failed.
 
  • Like
Reactions: Petr.114
I was able to fix it by removing the bad entry from /etc/ssh/ssh_known_hosts on node1 and readding node2 with --force to the cluster.

Thanks
 

About

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!