[software and hardware technology originating from or otherwise pertinent to planet earth]
SSH_AUTH_SOCK=/tmp/ssh-WEk27297/agent.27297; export SSH_AUTH_SOCK; SSH_AGENT_PID=27298; export SSH_AGENT_PID; echo Agent pid 27298;
This means that if you need to set the ssh-agent PID and SOCK environment settings by hand, you will need to know
ssh-agent process#!/bin/bash $pid=$1 $HashVal=$2 export "SSH_AUTH_SOCK=/tmp/ssh-$HashVal/agent.$pid" export "SSH_AGENT_PID=$pid" echo "SSH_AGENT_PID: $SSH_AGENT_PID" echo "SSH_AUTH_SOCK: $SSH_AGENT_PID"
Note that the value passed in as the 2nd parameter - the value assigned to $HashValue - is created by the ssh-agent on startup.
2006/12 2007/01 2007/05 2007/06 2007/07 2007/08 2007/10 2008/01 2008/02 2008/03 2008/05 2008/11 2008/12 2009/01 2009/02 2009/03 2009/04 2009/05 2009/07 2009/09 2009/10 2009/11
Subscribe to Posts [Atom]