Sorry about the title, don't know how to phrase this.
I have my own machine running Ubuntu 9.10 and I have some scripts on their that I occasionally SSH into the machine and run. I would like to make a front end interface for this in the form of a website. How would I go about having the website SSH into my machine and run these scripts?
I thought about having the website write to a database and then the scripts on the machine would always be checking for new commands in the database. This seems inefficient as it would always be running as some scripts require user input.