I have a shell script test.sh on a remote ubuntu machine with IP:192.168.1.1 in the/home/ directory and I have my apache2 and php installed in ubuntu machine with IP:192.168.1.2.

I need to execute the shell script on remote node from webserver machine, is there any way I can do that using a php script?