Explore Courses Blog Tutorials Interview Questions
0 votes
in DevOps and Agile by (29.3k 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 (50.2k 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.

Related questions

+2 votes
1 answer
asked Jul 18, 2019 in DevOps and Agile by chandra (29.3k points)
0 votes
1 answer
+1 vote
1 answer
+1 vote
1 answer

Browse Categories