Issues with SSH key #163324
-
|
Having an issue with a new private repo that I am creating. I had a repo that that I was using to test and got all messed up so I deleted it and now when I create a new repo I cannot add my SSH key to the new repo. I get a message that says that the key is already in use, which would be OK if I could use it to authenticate, but I cannot. I even went to my profile's settings SSH and GPG Keys page and tried to add my key and I still get the damn message that says that the key is already in use. Is there any way see where this key is being stored and delete it so that I can re-add it and use it properly. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
ssh-keygen -t ed25519 -C "your_email@example.com"Add the content of
ssh -T git@github.comIf successful, it will return a welcome message.
|
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
|
OK. It got fixed. The issue was caused because I deleted a repo and did not delete the SSH key associated with it. Github does not delete repos when you delete them. They do a soft delete (using the language that GH support used) so the key is still there, but cannot be seen or used. So GH support did a purge of the repo and that took care of the issue. |
Beta Was this translation helpful? Give feedback.
-
|
you can try this tool |
Beta Was this translation helpful? Give feedback.
OK. It got fixed. The issue was caused because I deleted a repo and did not delete the SSH key associated with it. Github does not delete repos when you delete them. They do a soft delete (using the language that GH support used) so the key is still there, but cannot be seen or used. So GH support did a purge of the repo and that took care of the issue.