I'm trying to clone or push to an empty repository on our Gitlab server using SSH authentication but whenever I try I am asked for the git password (using Git Bash):
myname@PC0016 MINGW64 /c/users/myname/dev
$ git clone firstname.lastname@example.org:android/myApp.git
Cloning into 'myApp'...
Please make sure you have the correct access rights
and the repository exists.
Create a ssh_config`, where you will point your client to your identity file:
Host git.repo.local IdentityFile C:\Users\myname\.ssh\id_rsa
Also store this file in the
/z/.ssh/config to be read by your client.