Remotely executing a Shell script
Posted: Mon Apr 12, 2004 2:41 pm
I have two servers, one where my website is stored, and one where my shell scripts are stored.
How can a PHP page on my web server, exec a shell script on the other server? I can provide the username, password, and IP. All I need to do is exec a script. Both servers are Linux/UNIX by the way.
Thanks in advance.
How can a PHP page on my web server, exec a shell script on the other server? I can provide the username, password, and IP. All I need to do is exec a script. Both servers are Linux/UNIX by the way.
Thanks in advance.