WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED

by Sep 18, 2025IT Tips0 comments

This can happen if you assign previously used IP Addresses to a new Virtual Machine which changes the host key

To remove the warning and allow connection again use ssh-keygen with the -R switch:

ssh-keygen.exe -R 20.213.210.243

You can manually edit ~/.ssh/known_hosts but I've found that often there can be multiple entries. The above quickly removes the problematic lines as shown in the following image

0 Comments

Submit a Comment

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

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.