Hi,
I've tried to write a php script that uses an exec command or backticks to login and retrieve output from a command run on a remote perforce server. perforce is accessed via ssh.
Problem is I can't get this to work via apache. Apache doesn't have access to my ssh-key so I changed apache to run under myself. I set up an SSH-agent and defined the environment variables for my agent PID and socket in the apache config file so apache has access to my agent. But I still can't access the server.
I'm wondering if people have ran into this problem and how they can get around this.
Any help is appreciated.
Thanks.
php access to perforce via ssh
Moderator: General Moderators