Skip to content

Instantly share code, notes, and snippets.

@shouichi
Created December 20, 2013 08:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shouichi/8051867 to your computer and use it in GitHub Desktop.
Save shouichi/8051867 to your computer and use it in GitHub Desktop.
if [ -z $SSH_AUTH_SOCK ];
then
eval `ssh-agent` > /dev/null
ssh-add ~/.ssh/id_rsa 2&> /dev/null
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment