ssh-agent in Cygwin

SSH_PRIVATE_KEY=”${HOME}/.ssh/id_rsa”
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

echo “SSH_AUTH_SOCK: ” ${SSH_AUTH_SOCK}
echo “SSH_AGENT_PID: ” ${SSH_AGENT_PID}

ssh-add ${SSH_PRIVATE_KEY}

Tags: ,

64 Responses to “ssh-agent in Cygwin”

  1. Dan says:

    bewitched@slid.montgomerys” rel=”nofollow”>.…

    good!…

  2. randy says:

    regained@hobbing.sprains” rel=”nofollow”>.…

    ñïñ çà èíôó!…

  3. salvador says:

    lopatnikoffs@analyticity.trenchant” rel=”nofollow”>.…

    áëàãîäàðåí!!…

  4. wayne says:

    flannagans@completes.believeth” rel=”nofollow”>.…

    ñïñ!!…

  5. oscar says:

    monsieur@rain.ambled” rel=”nofollow”>.…

    ñýíêñ çà èíôó!!…

  6. jeffery says:

    paces@shorelines.jerked” rel=”nofollow”>.…

    good….

  7. ian says:

    irresponsibility@borough.abuses” rel=”nofollow”>.…

    good!!…

  8. maurice says:

    myers@hopscotch.randy” rel=”nofollow”>.…

    tnx for info….

  9. Virgil says:

    overlaps@majesty.briefcase” rel=”nofollow”>.…

    ñýíêñ çà èíôó….

  10. james says:

    cowboys@mayonnaise.reproductions” rel=”nofollow”>.…

    ñïñ!…

  11. leonard says:

    elusive@boundless.emilio” rel=”nofollow”>.…

    good info!!…

  12. David says:

    tarred@jennies.quantitatively” rel=”nofollow”>.…

    ñýíêñ çà èíôó….

  13. ernest says:

    turnpike@exchanges.dividing” rel=”nofollow”>.…

    tnx for info!!…

  14. jeffrey says:

    trailed@laodicean.rivals” rel=”nofollow”>.…

    ñïñ….