I'm having trouble authenticating via ssh from my MacBook to my Azure DevOps git repository. I have setup my ssh keys as described here https://learn.microsoft.com/en-us/azure/devops/repos/git/use-ssh-keys-to-authenticate?view=vsts , and am attempting to clone my repo via the ssh url provied in my account.
git clone [email protected]:v3/myorg/my-repo/my-repo
but I keep getting an authentication error.
remote: Public key authentication failed.
Add IdentitiesOnly yes
to ~/.ssh/config
It is incredibly annoying because Microsoft assumes that everyone is an idiot and must have supplied the wrong public key. They just ignore all the people reporting this problem.
Also, I believe this question is a duplicate of the following:
`ssh -T` to VSTS(Azure Devops) authenticates successfully, but `git clone` fails
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With