(Proxmox) Fix Lỗi “WARNING: REMOTE HOST IDENTIFICATION HAS CHANGEDFix Lỗi “

Sau khi update mình nhận được lỗi này

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

Cách 1: Trên node đang bị lỗi

pvecm updatecerts -f

Cách 2: Trên node đang bị lỗi

systemctl restart pveproxy

Cách 3: Trên Node chính

ssh-keygen -f "/etc/ssh/ssh_known_hosts" -R "xxx.xxx.xxx.xxx"

Done !

Leave a Reply

Your email address will not be published. Required fields are marked *