I'm looking for a way to run SSH commands via a PHP file and stop and restart my Teamspeak server. I want this for some of my staff to be able to restart the server that cannot use SSH.
Is there a way to do this?
When they click the link it would need to run this command:
Then delay about 10 seconds.
Then run this command:
./ts3server_startscript.sh start inifile=ts3server.ini
The location of the start script is /home/starcit/ts/teamspeak