Skip to content

Instantly share code, notes, and snippets.

@im007boy
Created November 15, 2012 16:57
Show Gist options
  • Save im007boy/4079756 to your computer and use it in GitHub Desktop.
Save im007boy/4079756 to your computer and use it in GitHub Desktop.
ssh-agent
SSHAGENT=/usr/bin/ssh-agent
SSHAGENTARGS="-s"
eval `$SSHAGENT $SSHAGENTARGS`
trap "kill $SSH_AGENT_PID" 0
ssh-add ~/.ssh/github
ssh-add ~/.ssh/007.pem
#if [ -z "$SSH_AUTH_SOCK" -a -x "$SSHAGENT" ]; then
#fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment