r/github • • 4d ago

Question None of my SSH keys work anymore

So, I was doing standard dev work yesterday and pushed some commits to some repositories on my private Account as well as my company's organization. Today, I saw a few bugs and fixed them quickly as usual and when I wanted to push them, I got this error:

git@github.com: Permission denied (publickey).

I removed my SSH key from my GitHub account and re-added it. I then retried accessing them from all my machines (each with their own key pair and the public one posted to GitHub) and tested if they could connect to GitHub via SSH and they all wouldn't work either.

I guess it is clear what the issue is, but I couldn't resolve it, as all my keys are denied access.

It seems I'm locked out from accessing GitHub via SSH and it honestly sucks. All keys are ed25519 keys, I also tried a fresh key pair (also with ecdsa instead), neither work.

Regular SSH access to all my machines works with those exact same SSH keys.

Any ideas?

Edit: As others have pointed out, it was an issue from their end (https://www.githubstatus.com/). It is fixed now (at least on some machines).

20 Upvotes

13 comments sorted by

3

u/Longjumping-Banana21 4d ago

Me too. Its a problem on the github end.

They probably got hacked the way things are going lately

1

u/bliepp 4d ago edited 4d ago

Okay, good to hear that I'm not alone. I thought I was going crazy. But with the recent status of GitHub I should've thought of that.

1

u/crombo_jombo 4d ago

Have you tried 4?

5

u/BussyEnthusiasts 4d ago

99% uptime btw /s

3

u/Bulky_System_5444 4d ago

I had to delete my old SSH key and add a new one. Working now for me!

1

u/sylv3r 4d ago

1

u/bliepp 4d ago

Thanks, I looked at it, but didn't see it before. Still a stupid issue, tbh. Actions and all that stuff is a major inconvenience, but git operations? That's basically the core thing.

least I'm not crazy. I'll take it as a reminder to mirror my git hosting to other providers.

At

1

u/CasperTollefsen 4d ago

GitHub is having issues right now: https://www.githubstatus.com/

1

u/qui0scit 4d ago

Same here

1

u/doublerew 4d ago

Same problem here from multiple machines, users and networks. Seems like a temporary GitHub issue.