0 votes
1 view
in Devops and Agile by (28.1k 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 (48k points)

After starting the ssh-agent using:

eval $(ssh-agent)

Then you need to add a key for that use:

ssh-add 

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 (28.1k points)
0 votes
1 answer
+1 vote
1 answer
+1 vote
1 answer
0 votes
1 answer
Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...