Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Avoid pass-phrase prompt on git push to remote

Tags:

git

ssh

When I created my SSH key while setting up git, I chose to use a pass-phrase for the key. Now, whenever I push to my remote repository (unfuddle), I get prompted for this pass-phrase. Is there some way to automate this?

like image 324
ProfK Avatar asked Dec 30 '22 09:12

ProfK


2 Answers

Use SSH Agent.

like image 117
Cory Petosky Avatar answered Jan 05 '23 17:01

Cory Petosky


Use ssh-agent: http://wiki.sourcemage.org/Git_Guide#I.27m_tired_of_typing_my_SSH_key_passphrase.

You can get more information from this stackoverflow answer.

like image 40
Douglas Leeder Avatar answered Jan 05 '23 18:01

Douglas Leeder