Hello
I want to do a SCP in PHP by executing a shell command. I know how to do public key authentication without a password in SCP. I also know that PHP runs as process under the use Apache ( under Apache ). I would guess that I need to setup public key authentication for the user Apache, unless... and here is the question... can you run the shell command (or the php script) under a user other than Apache from PHP?
thanks in advanced.
Gizzmo