Git enter long passphrase for every push
Every time I try to push anything to GitHub it asks me the address
email@example.com:... and after that it wants the passphrase. Is there a way to automate this?
I am using Linux Ubuntu.
- git Permission denied (publickey,gssapi-keyex,gssapi-with-mic)
- Cygwin SSH connection issue to BitBucket
- Where is Heroku getting its RSA key from? It seems to be somewhere other than ~/.ssh/
- Format of ssh config
- Permissions error github (ssh key not recognized)
- Git ssh connection refused with the following format
3 Solutions collect form web for “Git enter long passphrase for every push”
You can use
ssh-agent to remember your passphrase (Gnome automatically runs this for you, normally…).
$ ssh-agent bash $ ssh-add Enter passphrase for /home/elyobo/.ssh/id_rsa: Identity added: /home/elyobo/.ssh/id_rsa (/home/elyobo/.ssh/id_rsa)
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.
If need to clone the SSH and then authorize your machine following theses steps: https://help.github.com/articles/generating-ssh-keys
Another way to use the
ssh-add commands to add your private identity to the authentication agent.
$ eval "$(ssh-agent -s)" Agent pid 1174 $ ssh-add ~/.ssh/id_rsa Enter passphrase for /home/james/.ssh/id_rsa: Identity added: /home/james/.ssh/id_rsa (/home/james/.ssh/id_rsa)