I am trying to push a git repo from PowerShell into an Azure DevOps repo, and I keep getting different auth errors when trying to push it.
I am hoping somebody can sh
I saw my repo ssh URL which was different from my DevOps URL in my case what worked was adding the config file in my ~/.ssh folder with the following information:
Host vs-ssh.visualstudio.com <-- hostname found in my repo SSH URL
IdentityFile ~/.ssh/id_rsa_vsonline <-- your key name
IdentitiesOnly yes
then tested it with
ssh -v vs-ssh.visualstudio.com
in the trace, I got something like
Authenticated to vs-ssh.visualstudio.com ([IP]:22).