Azure Devops - Git Ssh Authentication - Remote: Public Key Authentication Failed [Duplicate]

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 , and am attempting to clone my repo via the ssh url provied in my account.

git clone :v3/myorg/my-repo/my-repo

but I keep getting an authentication error.

remote: Public key authentication failed.

4

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

4
Sophia Al-Mansoor

Sophia Al-Mansoor

Global Business & E-Commerce Reporter

Sophia analyzes international trade, startup ecosystems, retail transformation, and supply chain logistics for modern digital publications.

Share this article
Twitter Facebook Pinterest