Skip to content

Instantly share code, notes, and snippets.

@m87h
Last active December 17, 2015 15:39
Show Gist options
  • Save m87h/5633639 to your computer and use it in GitHub Desktop.
Save m87h/5633639 to your computer and use it in GitHub Desktop.
C:\Users\protomouse>ssh-agent -c
setenv SSH_AUTH_SOCK /tmp/ssh-KSLohh2068/agent.2068;
setenv SSH_AGENT_PID 1356;
echo Agent pid 1356;
C:\Users\protomouse>ssh-agent -c | findstr setenv
setenv SSH_AUTH_SOCK /tmp/ssh-vlpZah2964/agent.2964;
setenv SSH_AGENT_PID 1840;
C:\Users\protomouse>for /f "tokens=2,3 delims= " %a in ('ssh-agent -c ^| findstr
setenv') do echo %a
(hangs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment