Tuesday, November 20, 2018

SSL authentication for git in Visual Studio 2017

Setup: VS2017 on Windows 10, bash using WSL. Key pair exists in ~/.ssh

I could not authenticate with a gitlab instance through SSH. Therefore, in bash, I ran this to copy the key pair to my Windows user directory.

~$ cp -r .ssh /mnt/c/Users/<username>/

A restart of VS may be required such that it uses the keys.