Created
September 25, 2015 14:44
-
-
Save charly-vega/185171d3013a2923374e to your computer and use it in GitHub Desktop.
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
if [ -z "`ps -e | grep ssh-agent`" ] ; then | |
ssh-agent /bin/bash | |
ssh-add ~/.ssh/id_rsa | |
fi | |
ps -e | grep ssh-agent | |
if [ -z "`ps -e | grep ssh-agent`" ] ; then ssh-agent /bin/bash ; ssh-add ~/.ssh/id_rsa ; fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment