Re:We updated our RSA SSH host key
by nessex on Friday March 24, 2023 @04:33AM
(#35286504)
It's not mentioned in the blog post or keys page, but the _old_ value you'll find in known_hosts is:
You can search for this in your codebases, hosts etc. to see if there are any areas that need updating. The new value is linked from the blog post, you can find it here:
https://docs.github.com/en/authentication/keeping-your-accou...
[ Parent
| on HN ]
Good callout!
I looked at my `~/.ssh/known_hosts` file and that key is associated with a few IP addresses in addition to github.com. Those lines stayed after I ran `ssh-keygen -R github.com`.
I imagine that I also need to remove those other lines manually, but isn't that something that GitHub should have mentioned? I'm not sure in which circumstances these got added either…
Re:We updated our RSA SSH host key
by bravetraveler on Friday March 24, 2023 @12:07PM
(#35291092)
Same here, found the two following IPs with the same hostkey:
- 192.30.253.112
- 140.82.114.3
WHOIS shows github ownership, just not sure when/how/why I got theseMy ~/.ssh/known_hosts used to look like that, but now it looks like the host part is encrypted? It looks like:
|1|{base64-encoded-string?}|{another-base64-encoded} ssh-rsa AAA{long-string}
This is on Ubuntu 22.04 (Linux Mint).
Re:We updated our RSA SSH host key
by banana_giraffe on Friday March 24, 2023 @08:22PM
(#35297565)
This is because HashKnownHosts has been turned on, the first value is a salt, the second value is a hash of the salt and the host name.