GitHub suddenly rejected my SSH key (the fix was a .pub file?!)

59 points by GLaDER


pasuder

Same issue.. observing it for last 4 hours. It is already mentioned on https://www.githubstatus.com/incidents/g40zcbvchny4

puffnfresh

I had an issue just a few weeks ago where I rotated some SSH keys, but I didn't remove the existing .pub files which were ignored in Git. I tried to SSH in with these new keys but they just would not work. I eventually enabled a bunch of debug flags and it took me a long time to realise that my SSH client was sending the old fingerprint. I had no idea OpenSSH read .pub files at all - all these years I've just assumed they're completely redundant.

polsevev

I had this issue today as well! Our CI server could seemingly no longer connect to github.com.

Ended up rotating the key to a proper ed25519 key and it worked again. This key still does not have a companion .pub key so i have no clue why this worked

klingtnet

We just faced the same issue today. There's no announcement from GitHub, as far as I know, that they planned to change their SSH authorization behavior.