0 votes
1 view
in Devops and Agile by (24.5k points)

I'm using Linux and I created keys as instructed in the github tutorial, registered them with github, and tried using ssh-agent explicitly — yet git continues to ask me for my passphrase every time I try to do a pull or a push.

What could be the cause?

1 Answer

0 votes
by (41.8k points)

After starting the ssh-agent using:

eval $(ssh-agent)

Then you need to add a key for that use:


This will ask you your passphrase just once then you should be able to push it to github.

To add the key permanently use:

ssh-add -k

This will store the key and will not ask for passphrase again.