|
Posted by Richard Lynch on 10/02/34 11:10
> $process = proc_open(''ssh somehost someremotecommand';', $spec, $pipes);
If you have any control at all over that other server, just set up a
password-protected web page *THERE* to run the process (known technology)
and then use cURL to access it (known technology) and call it done.
Beating your head against PHP -> exec -> SSH -> remotecommand will just
get you a headache, almost for sure.
You may want to look into RPC or even SOAP as well, if it's a whole mess
of commands.
--
Like Music?
http://l-i-e.com/artists.htm
Navigation:
[Reply to this message]
|