On Win11 cloning repository fails. #206390
Replies: 2 comments
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
|
Hi @Zsike123 , A few common causes on Windows 11: Wrong SSH key being loaded. SSH tries multiple keys in order, and the first one that authenticates wins — even if it's not the right one for this repo. Check which key is actually being used: ssh -vvv git@github.comLook for "offering public key" lines — that shows which key SSH is trying. If it's offering the wrong one before the right one, you can explicitly specify the right key in The Repository access. If the repo is private and your SSH key doesn't have access, or if it's your own repo and you haven't granted your SSH key permission,
Windows-specific: line endings in the URL. Less common, but if your shell is mangling the Git URL (Windows sometimes does weird things with quotes/colons), try: git clone "git@github.com:Zsike123/Amdaderosz.git"With explicit quotes. If those don't work, post the full output of |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Bug
Body
After many hours using Copilot chat, I am still unable to clone the repository on a windows 11 pc. Here is the status given by the agent, indicating that this merits a bug report.
ssh -T git@github.com authenticates as Zsike123.
The SSH key is accepted by GitHub.
git ls-remote git@github.com:Zsike123/Amdaderosz.git is denied.
The repository is visible in the browser as Zsike123/Amdaderosz.
Attaching the conversation with agent.
github-clone-troubleshooting.md
All reactions