How can I perform a `git pull` without re-entering my SSH password?

jldupont :

Is it possible to configure git/ssh so I don't have to enter my passphrase every time I want to perform a git pull? Note that the repo is a private one on github.

Or, alternatively, what would be the best practice to automate code deployment from a private Github repo?

Additional details: EC2 instance running a public AMI based on Fedora.

Fredrik Pihl :

Have a look at this link https://help.github.com/articles/working-with-ssh-key-passphrases/

But I don’t want to enter a long passphrase every time I use the key!

Neither do I! Thankfully, there’s a nifty little tool called ssh-agent that can save your passphrase securely so you don’t have to re-enter it. If you’re on OSX Leopard or later your keys can be saved in the system’s keychain to make your life even easier. Most linux installations will automatically start ssh-agent for you when you log in.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Can I perform `git pull` without password prompt but `git push` with password prompt?

Linux Mint: How can I run a script with root privileges via a key shortcut without entering my password?

How do I reconnect my WiFi without entering the superuser password?

Ubuntu 10.04 using ssh without entering my password

How do I push changes to my remote repository without entering my password everytime?

How can I propagate my SSH pub key to a list of servers without having to type my password in over and over?

How can I "pull" a git database without downloading the whole repository

How can I pull my project from git again?

How can I see the time of my last git pull?

I don't understerstand how I can use git with HTTPS without having to type in my password every time?

How do I avoid giving username and password to git push/pull/fetch on my local machine?

Why can't I simply push 1 file to my repo without having to do a git pull?

How can I re-init my git repo?

How can I re-structure my repository in Git?

How can I undo a 'sudo' command before entering the password?

How can I run git push/pull commands with SSH verbose mode?

How can I programmatically git fetch once without a password and the other times with a password?

How can I save my files without committing with Git?

ssh login and git pull ask for username/password

How can I automatically start an SSH tunnel when I put in my Pageant password?

How can make this java code so that i can only get 3 chances to re enter my password

How can I pull git submodule automatically?

How can I git pull ignored files?

How can i git pull with overwriting changes

How can I create a user who can log in without a password (delete password in passwd command?) in 18.04.4 over ssh?

In widget tests, how can I perform a "pull-down" gesture?

How can I send email leveraging my gmail account without revealing my password?

How Can i send the email from the MVC4 to my gmail without using my password?

How can I "git pull" just to sync two branches without actually pulling any file changes?