Host key verification failed

Nass

Member
Oct 25, 2022
39
1
8
Hello,
i got this while trying to access shell of my proxmox host using web interface !

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.
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 "X.X.X.X"
RSA host key for X.X.X.X has changed and you have requested strict checking.
Host key verification failed.
 
Just run this command on each node in the cluster.
Note: one line for each host, run on all nodes.
/usr/bin/ssh -e none -o 'HostKeyAlias=pve01' root@172.16.2.31 /bin/true
HostKeyAlias=YOURSERVER
root@IPYOURSERVER

This piece of advice will run into the same bug sooner or later again. It is temporary. It is also producing different results depending in which order it is run (in respect to the said nodes) - as weird as it sounds - which is by the nature of the bug.
 

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!