Last active
November 4, 2017 02:25
-
-
Save juliorosseti/322162629cd161ab9e13ad4a38094250 to your computer and use it in GitHub Desktop.
ssh-agent (cygwin)
This file contains hidden or 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
SSHAGENT=/usr/bin/ssh-agent | |
SSHAGENTARGS="-s" | |
if [ -z "$SSH_AUTH_SOCK" -a -x "$SSHAGENT" ]; then | |
eval `$SSHAGENT $SSHAGENTARGS` | |
trap "kill $SSH_AGENT_PID" 0 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment