dwjohnston
dwjohnston

Reputation: 11803

Git asking for password.

I'm trying to set up my computer to be using my github account, here's what I've got:

In my locally where the project is kept:

 $ git remote -v 
 origin ssh://[email protected]/djleprechaunz/OscProject.git (fetch)
 origin ssh://[email protected]/djleprechaunz/OscProject.git (push)

and

ssh-add -l
2048 [key1] dave@mycomputername (RSA)
2048 [key2] [email protected] (RSA)

(Sorry, not sure about the security of posting the whole key up).

When I try

git fetch

it pops up with a dialog 'An application wants access to the private key '[email protected]', but it is locked'

What should I be doing here? I tried putting in my github password, but that doesn't work.

Upvotes: 10

Views: 15454

Answers (1)

kaushik gandhi
kaushik gandhi

Reputation: 778

you need to put the passphrase you entered while creating the ssh key when it prompts for the password

Upvotes: 31

Related Questions