Authentication failed while clonning private repo
See original GitHub issueDescription
I have an error while trying to clone some private repository. Everything works just find until the very end, when it falls with the following message:
Authentication failed. You may not have permission to access the repository. Open options and verify that you’re signed in with an account that has permission to access this repository.
So the app doesn’t see this repo, although all files are downloaded. Yeap, I signed in with the correct account, 100%.
Version
GitHub Desktop version: 0.7.0
OS version: 10.0.15063
Steps to Reproduce
- File -> clone repository…
- Enter the url of the repo (it’s private in my case).
- Wait.
Expected behavior: Repo works fine with the app. Or, if I really don’t have a permission to this private repo, the app shouldn’t download all files from it before raising the error.
Actual behavior: Authentication failed, app doesn’t see this repo.
Reproduces how often: 100% in my case with this particular repo.
Logs
Additional Information
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (6 by maintainers)
Top GitHub Comments
Thank you for your issue!
We haven’t gotten a response to our questions above. With only the information that is currently in the issue, we don’t have enough information to take action. I’m going to close this but don’t hesitate to reach out if you have or find the answers we need, we’ll be happy to reopen the issue.
No worries @Ionastasi!
It looks like this is the important line:
It sounds like some of the submodules are setup with SSH URLs, but your machine doesn’t trust GitHub’s SSH servers.
There are a couple ways to fix this:
The first option may be easier.
For the second, check out https://help.github.com/articles/testing-your-ssh-connection/#platform-windows.