Skip to content

Instantly share code, notes, and snippets.

@clynamen
Created February 2, 2018 16:26
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 clynamen/38313980977af387bb3bbd1c97fd644c to your computer and use it in GitHub Desktop.
Save clynamen/38313980977af387bb3bbd1c97fd644c to your computer and use it in GitHub Desktop.
ssh-add
if [[ ! -f /tmp/ssh-agent.sh ]]; then
ssh-agent | grep -v echo > /tmp/ssh-agent.sh
fi
source /tmp/ssh-agent.sh%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment