title: Run a bash script on a remote server
body: <p>I am developing an application which would require me to execute a bash script on a remote server when my users give me a command through a web interface.</p>
  
  <p>What would be some ways to run a bash script on a remote server when I get a command on my main application server?</p>
  
  <p>P.S. The bash script will need to do some tasks which only a root user can do, like, restart NGINX.</p>