remote commands

Hi,

I have been playing with some initscripts for some custom 'stuff I run, and I am wondering about strategies for securely invoking them from a remote server.

Here is the setup:

SSL-protected "members" area on webserver
Lets say there is a button they can click that will issue:

service <servicename> stop

On the remote server. The value will be PREDEFINED by the php page they are clicking into.

How can this be done? I really do NOT want to run a webserver on each remote machine.

 

 

 

 

Top