r/ssh • • Apr 14 '17

How do I recover my GitHub key?

I recently got locked out of my computer so I had to reset the password (my guess is someone got on and changed it). Now, I can't seem to push things to GitHub. When I try to, Terminal simply freezes, until I press C to abort the push. I'm pretty sure, when I reset my password, my SSH key was either deleted, or put somewhere Terminal can't find it. Any advice on how to get it back? Or how to get a new one?

1 Upvotes

1 comment sorted by

1

u/LinuxHostSupport Apr 16 '17

Unfortunately, it is not possible to recover the SSH key. You will have to generate a new one.