Created
March 22, 2019 00:43
-
-
Save DwordPtr/2696f889ec5cf4ff865ff31934a72535 to your computer and use it in GitHub Desktop.
ssh-agent gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#make sure ssh-agent is installed on your machine | |
if [ -z $SSH_AUTH_SOCK ] ; then | |
eval `ssh-agent` | |
ssh-add ~/.ssh/id_rsa | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment