need help with this strange error

fasi74

Member
Jun 24, 2021
27
2
8
50
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
 
  • Like
Reactions: acc61287
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
pvecm updatecerts
(re)generate node files
merge authorized SSH keys

Still not resolved this error. i can't see this node's vms on noVnc console. not able to see the dashboard using this node's ip.
Please check what could be the issue.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 ED25519 key sent by the remote host is
SHA256:2PbAsqr1k9bUcm2YyaqfsrhNTQWfnqQooR5oIelzWDI.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending ED25519 key in /root/.ssh/known_hosts:6
remove with:
ssh-keygen -f "/root/.ssh/known_hosts" -R "10.184.53.105"
Host key for 10.184.53.105 has changed and you have requested strict checking.
Host key verification failed.