Hi,
I'm attempting to use ssh keys instead of username/password credential with Azure devops. After generating the credential on PSU and entering it into the keys section in the cloud, I keep encountering this when trying to sync:
Hoping for a little insight on where to go for troubleshooting this further!
a2f704a6-5221-4f19-a03e-3618ea06e029.png
Hi,
I'm attempting to use ssh keys instead of username/password credential with Azure devops. After generating the credential on PSU and entering it into the keys section in the cloud, I keep encountering this when trying to sync:
Hoping for a little insight on where to go for troubleshooting this further!
@lloydmitchell
The first thing I would check is whether the Git settings are using the external Git client. In PowerShell Universal, SSH-key Git sync is an external git.exe path rather than LibGit2Sharp.
Please try this:
git@ssh.dev.azure.com:v3/<organization>/<project>/<repository>
If you are currently using the internal Git client, or if the Git username field is blank while using the non-external client, the Value cannot be null. (Parameter 'name') error can happen because the internal Git needs a non-empty Git identity name. That error does not necessarily mean Azure DevOps rejected the SSH key.
The relevant docs are the PSU Git page and Microsoft's Azure DevOps SSH key page:
If that still fails after switching to the external client, please send:
Thanks 👍