I recently have been getting this message from the console of 2 of my 3 node cluster. The node I created the cluster from has not displayed this message yet.
I have made two changes to my cluster. I removed one of the nodes and then added it back in. And I added the Proxmox Backup Server to the mix.
My cluster is behind a firewall and not available to the public so I don't know why it is suggesting a man-in-the-middle attack.
The node this is happening on in this case is the 192.168.201.21 node. I can't tell from this message which is the local host and which is the remote host. Why would the message about the node's own RSA key be flagged as suspect? Again, this happens on two of the three nodes in the cluster. Restarting the node removes the message.
I looked at other threads and someone suggested that running this command would help. I don't see why though.
pvecm updatecerts
That doesn't seem to have helped with the problem. One more thing. After I reboot the node, I might not see the issue until 24 hours passes. And it only happens on one node at a time.
Any suggestions would be welcome. I haven't a clue what to try.
I have made two changes to my cluster. I removed one of the nodes and then added it back in. And I added the Proxmox Backup Server to the mix.
My cluster is behind a firewall and not available to the public so I don't know why it is suggesting a man-in-the-middle attack.
Code:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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:<SHA256 code>.
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:6
remove with:
ssh-keygen -f "/etc/ssh/ssh_known_hosts" -R "192.168.201.21"
RSA host key for 192.168.201.21 has changed and you have requested strict checking.
Host key verification failed.
The node this is happening on in this case is the 192.168.201.21 node. I can't tell from this message which is the local host and which is the remote host. Why would the message about the node's own RSA key be flagged as suspect? Again, this happens on two of the three nodes in the cluster. Restarting the node removes the message.
I looked at other threads and someone suggested that running this command would help. I don't see why though.
pvecm updatecerts
That doesn't seem to have helped with the problem. One more thing. After I reboot the node, I might not see the issue until 24 hours passes. And it only happens on one node at a time.
Any suggestions would be welcome. I haven't a clue what to try.