How to remove a changed hostname from known_hosts
Remove a stale or changed host entry from ~/.ssh/known_hosts to resolve SSH host key verification errors.
ssh-keygen -R hostname
References:
- https://unix.stackexchange.com/questions/6533/is-there-an-easy-way-to-update-information-in-known-hosts-when-you-know-that-a-h