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

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