I'm using the ubuntu bash (subsystem) on windows 10 as my shell. I have a gitlab git repository that I cloned. When I use the git from this shell it is separate from my windows git and I'm unable to make it use my SSH key. It just keeps asking for my user/pass. Note that the SSH key is configured correctly in gitlab.
I place my id_rsa and id_rsa.pub in ~/.ssh/ (ubuntu subsystem path)
Any idea?
eval 'ssh-agent -s'
then load your key withssh-add
. If files permissions and the key is setup on gitlab this should work.eval `ssh-agent -s`
and noteval 'ssh-agent -s'
(different quotes char). I'm able to add id_rsa with ssh-add but git still asks for user/pass.