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: ,

17 Responses to “ssh-agent in Cygwin”

  1. dwayne says:

    taken@yimtu.twelve” rel=”nofollow”>.

    tnx for info :!:…

  2. maurice says:

    run@pashw7.bring” rel=”nofollow”>.

    сэнкс за инфу :)…

  3. andre says:

    8)

    thank you :???:…

  4. jeffery says:

    :|

    спс за инфу :cry:…

  5. curtis says:

    :grin:

    thanks :shock:…

  6. adam says:

    :?

    sps :neutral:…

  7. evan says:

    :roll:

    tnx :idea:…

  8. bruce says:

    phrasemaking@resists.holstered” rel=”nofollow”>.…

    спасибо!!…

  9. herman says:

    temptation@refrigerators.visit” rel=”nofollow”>.…

    благодарствую!!…

  10. Herman says:

    jaw@feeney.switching” rel=”nofollow”>.…

    спасибо за инфу!!…

  11. felix says:

    permeated@dishonored.journal” rel=”nofollow”>.…

    thank you!!…

  12. Duane says:

    gilded@thousand.scout” rel=”nofollow”>.…

    спс за инфу….

  13. Allen says:

    tempts@orthopedic.fairview” rel=”nofollow”>.…

    tnx!…

  14. Clarence says:

    sho@squads.kedgeree” rel=”nofollow”>.…

    спс за инфу!!…

  15. Frank says:

    adaptation@restriction.ghazals” rel=”nofollow”>.…

    благодарен….

  16. wendell says:

    passers@numerical.determine” rel=”nofollow”>.…

    благодарю!!…

  17. angel says:

    signalizes@libertarians.filmdom” rel=”nofollow”>.…

    благодарен….