need help with this strange error

fasi74

Member
Jun 24, 2021
27
2
8
49
I have started getting the following error on my pve hosts, when i try to access its shell.

"
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
SHA25dgrererertfoGTxoaIf2pWqZ6/qBwQwWKTn8Qt0QcAwNw.
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:4
remove with:
ssh-keygen -f "/etc/ssh/ssh_known_hosts" -R "172.160.5.149"
RSA host key for 172.16.0.49 has changed and you have requested strict checking.
Host key verification failed."

how do i fix this, just for the record, i have done any configurations on the server, also previously i got the same error in another host which i reinstalled to fix.

proxmox newbie alert!


Regards
 
May you try to update the ssh keys and the certificates using the below command from one node?

Bash:
pvecm updatecerts --force
 
May you try to update the ssh keys and the certificates using the below command from one node?

Bash:
pvecm updatecerts --force
should this be run on the troublesome host console? or any host in the cluster, I have three more hosts in the cluster all others are running fine.
 
  • Like
Reactions: ITBubba
In any node, the command will just update node certificates (and generate all needed files/directories).
 
In any node, the command will just update node certificates (and generate all needed files/directories).
Thank you I did, however, it only worked when I ran it on the troublesome host, however another host in my cluster got this problem as soon as I ran and fixed the problem on this host.

FG
 
  • Like
Reactions: itret

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!