No ssh via webgui

Ednax

Member
May 6, 2022
3
0
6
Hello I get the following error in webqui

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: THE IDENTIFICATION OF THE REMOTE HOST HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING BAD!
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 from the remote host is
SHA256:kn2h3GOS8AQimPXs/9rDaiKqTDOnXXXXXXXXXXX.
Please contact your system administrator.
Add the correct host key in /root/.ssh/known_hosts to get rid of this message.
Incorrect RSA key in /etc/ssh/ssh_known_hosts:9
remove with:
ssh-keygen -f "/etc/ssh/ssh_known_hosts" -R ""
The ECDSA host key for has changed and you have requested a strict check.
The host key verification has failed.

I do not get this error via Putty.


pvecm updatecerts -f , ssh-keygen -f "/etc/ssh/ssh_known_hosts" -R "" and ssh-keygen -R XXX.XXX.XXX.XXX / do not bring any solution



My 3 other nodes work fine in Webqui , but can not connect to my 4th node with ssh.

EDIT :
i can't reach the lxc container via ssh of the gui either, the VM works
 
Last edited:
Login to your affected node via putty:
cp /etc/ssh/ssh_known_hosts /etc/ssh/ssh_known_hosts.old
sed -i '9d' /etc/ssh/ssh_known_hosts

and see if it helps


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
unfortunately did not bring a solution .

Instead now comes the following error: Connection error 596: tls_process_server_certificate: certificate verify failed

EDIT :
The error : Connection error 596: tls_process_server_certificate: certificate verify failed is now gone after a reboot, but the old problem persists
 
Last edited:
You can roll back
cp /etc/ssh/ssh_known_hosts.old /etc/ssh/ssh_known_hosts

If you login to GUI on node1 and then try to open console of node4 - the ssh connection is essentially from 1 to 4. Its the same as you would have done it from putty while logged into node1 and open ssh to node4.
So the easiest way to test is from normal console. I dont know how you broke, but you might as well setup clean key on all nodes. Some info here: https://forum.proxmox.com/threads/setup-ssh-keys.93134/ and of course generic google search "setup linux ssh keys".
Make sure you can ssh from each node to every other node and you should be ok.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 

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!