What I want to do is create a small webpage with 3 links when a particular link is clicked it runs a particular ssh script through console
for example if I wanted to make “STOP” and when it’s clicked it would go to a ssh script…say stop.sh and that would just have stop in it, this would stop the server.
Is their an easy way to do this?
Yes, You can run. Following methods allows your to run commands in shell
Invoking shell is not a good practice. Try to use equivalent PHP functions.