Permission denied (publickey) #60311
Unanswered
Rachel-Kenyani
asked this question in
New to GitHub
Replies: 2 comments
This comment was marked as spam.
This comment was marked as spam.
-
Hello @Rachel-Kenyani. Do you by any chance have several ssh keys? You can debug your ssh connection to github by using the ssh -T [email protected] To make absolutely sure that ssh is using the correct key, you can point it to the private key using the ssh -T -i ~/.ssh/id_rsa [email protected]
# or
ssh -T -i ~/.ssh/id_ed25519 [email protected] There's also verbosity flags to get more info: If you do end up finding out that you have several keys, and you want to specify which one github should use, you can do the following: Edit the file at
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
![image](https://private-user-images.githubusercontent.com/124130929/251706199-bbffdd1e-a227-4c2a-b77e-ed17d1011310.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk5MjYyNTMsIm5iZiI6MTcxOTkyNTk1MywicGF0aCI6Ii8xMjQxMzA5MjkvMjUxNzA2MTk5LWJiZmZkZDFlLWEyMjctNGMyYS1iNzdlLWVkMTdkMTAxMTMxMC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzAyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcwMlQxMzEyMzNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xODAwZDE4ZDNiZDg0ZDE0ZTg4OTMxZDgxMDhmYTYwNWM2MGUzNGQxZWM2NzRlNDRiMWRhNjg4ODMxM2UzN2ZiJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.k93gwXV3Qx--DJX5ja5k6m6aYX37BmjzBwvSIBE8zCo)
I pushed a folder and now i can't clone it into my new PC. I was thinking of just cloning one folder(Pythonprojects) from the repo using git clone -b. I configured a new SSH key made sure it was an OpenSSH public key but still the error still reoccurred. What can I do?
Beta Was this translation helpful? Give feedback.
All reactions