SSH cloning with WSL2 not working #122550
Unanswered
meroosh
asked this question in
Repositories
Replies: 2 comments
-
The way I go about this when I use WSL is I just ctrl+shift+P in VS Code and search for the "Git: Clone" option and I choose the repo I'd like to clone and it works. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is an issue other people seem to be having with WSL2, but it might be better to try to use GitHub CLI. |
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
-
Select Topic Area
Question
Body
I'm having problem authenticating ssh to github through WSL2 with Ubuntu 24.04
![image](https://private-user-images.githubusercontent.com/116682463/328183432-853e8aee-0b47-45f1-8a9a-2007b9ea7b1a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk5NzUyNjcsIm5iZiI6MTcxOTk3NDk2NywicGF0aCI6Ii8xMTY2ODI0NjMvMzI4MTgzNDMyLTg1M2U4YWVlLTBiNDctNDVmMS04YTlhLTIwMDdiOWVhN2IxYS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzAzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcwM1QwMjQ5MjdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01MjlkM2M1NjE4YmU2OTkyMzVhNGQxODQxNjE5N2M3NDA1NGIyMGNjODQ3NDA1OTc1NDhjMzI1MmIwZjQxODI1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.0SHk92udUwmEypyPEMrFAsUkMHJHWauQpaCiB-MjbcM)
The basic steps were: I set up WSL2, downloaded Ubuntu, updated Ubuntu, configured git and ran
ssh-keygen -t ed25519 -C "[email protected]"
Pressed enter all the way, copied the public key to my github account and ran
git clone "repo"
and got
As far as I understand, this should have worked. But other than that I searched the web a lot and tried a few other solutions, none of them worked.
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions