Skip to content

Instantly share code, notes, and snippets.

@ddimtirov
Created September 4, 2015 15:05
Show Gist options
  • Save ddimtirov/a52e3147761545e26f1c to your computer and use it in GitHub Desktop.
Save ddimtirov/a52e3147761545e26f1c to your computer and use it in GitHub Desktop.
SSH Agent setup for windows using cygwin/mingw
setx SSH_AUTH_SOCK %TEMP%/.ssh-socket
rm -rf %SSH_AUTH_SOCK%
ssh-agent -a %SSH_AUTH_SOCK%
ssh-add %CYGWIN_HOME%\home\%USERPROFILE%\.ssh\id_dsa
ssh-add %CYGWIN_HOME%\home\%USERPROFILE%\.ssh\id_rsa
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment