I'm trying to do a git clone a repo on windows using a public ssh key using the instructions: https://help.github.com/articles/error-permission-denied-publickey
It still asks for a password. - I was able to run ssh-add after running ssh-agent - when I type
ssh-keygen -lf ~/.ssh/id-rsa.pub
, it shows me the finger print - when I type
ssh -T git@github.com
, it shows my user name. I also read somewhere that I should ensure that GIT_SSH is not set. That is the case. I've also added to ~/config the following:
Host *
User git
HostName github.com
PreferredAuthentications publickey
IdentityFile C:\Users\Administrator\.ssh\id_dsa.pub
Any ideas how to make git work without asking for a password?