|
Did you ever find a solution to this problem? I'm running into the same issue trying to use a ssh-agent inside a CGI script. I know what the problem is, the ssh process isn't communicating with the ssh-agent, because it simply doesn't know about. We'd set the env vars in a normal shell, but I can't seem to make perl aware of the agent.
I'm at a brick wall with the idea of 'exporting' the variables this way:
$ENV{'SSH_AUTH_SOCK'} = $sock;
$ENV{'SSH_AGENT_PID'} = $pid;
Any suggestions would be much appreciated!
Jason Welcker |