@ 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:62asUEkmPeBHd+I1QEuiKy7MKZJ/J34P48Ur2vcMdcI.
Please contact your system administrator.
Add correct host key in C:\Users\xyz/.ssh/known_hosts to get rid of this message.
Offending ED25519 key in C:\Users\binxd/.ssh/known_hosts:17
Host key for 185.xxx.215.xyz has changed and you have requested strict checking.
Host key verification failed.
The error message you’re seeing is related to SSH, specifically the host key verification process. When you first connect to a server using SSH, its host key is stored in your known_hosts
file. If the host key changes (for example, the server was reconfigured or you’re connecting to a different server), SSH will warn you to prevent possible security risks, such as man-in-the-middle (MITM) attacks.
Steps to fix the issue:
- Verify the Reason for the Key Change:
- If you trust the host key change (for example, the server was upgraded or reconfigured), you can proceed with fixing the issue.
- If you’re unsure, it might be worth verifying with the server administrator to make sure no malicious activity is happening.
- Remove the Old Key:
- Open the
known_hosts
file located atC:\\Users\\binxd/.ssh/known_hosts
.Find and delete the line that corresponds to the IP address185.xxx.215.xyz
. In your case, the offending key is on line 17.
ssh-keygen -R 185.xxx.215.xyz
- Open the
- Reconnect to the Server: After removing the old key, SSH will prompt you to add the new host key when you try to connect again. If the key looks correct, you can type
yes
to accept it:bashCopy codessh user@185.xxx.215.xyz
This should resolve the issue, but make sure you know why the key changed to avoid any security concerns.