Every time I try to push anything to GitHub it asks me the address git@github.com:...
and after that it wants the passphrase. Is there a way to automate this?
I am using Linux Ubuntu.
Every time I try to push anything to GitHub it asks me the address git@github.com:...
and after that it wants the passphrase. Is there a way to automate this?
I am using Linux Ubuntu.
You can use
ssh-agent
to remember your passphrase (Gnome automatically runs this for you, normally...).From now on, from within the terminal that you run this, your pass phrase will be remembered.
Ideally you'd get it working automatically, so all shells running within gnome would work; check out Gnome Keyring.
Another way to use the
ssh-agent
andssh-add
commands to add your private identity to the authentication agent.It is because you are using HTTPS (something like https://github.com/felipelalli/private.git) instead SSH (something like git@github.com:felipelalli/private.git).
If need to clone the SSH and then authorize your machine following theses steps: https://help.github.com/articles/generating-ssh-keys