ssh

Updating GitHubs SSH Key

Last week GitHub briefly leaked it’s private RSA ssh host key and replaced it with a new one. If you’ve ever cloned a repo from GitHub using the key you’ll get warning that the hosts key has changed and it may have been compromised.

Run the following in a shell to remove the fingerprint of the old key and you’ll be prompted to add fingerprint for the new key next time you access GitHub using ssh.