Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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