If you are running Debian, just follow the wiki page for it and do the Webmin install. With Webmin you can remotely do almost every single thing you can do if you were sitting right at the PC. It is 100% web based, so you don't even have to install anything. You just need to connect to your router's Internet IP address and add :10000 to the end of it. I use dyndns on my router so I basically have a url that I can go to in case my IP changes due to DHCP from my ISP. With dyndns, you could set it up so you just go to hayward6.dns-name.com:10000 or whatever you want to name it. It is free to use dyndns and you can register and set it up in just a few minutes. The url is
www.dyndns.com and you should check it out
Even without dyndns though, you can have webmin up and running in just a matter of seconds. The only other thing you have to do is forward port 10000 to your server and you will be able to connect and login remotely anytime. I recommend adding the module named "Shell in a Box" and also one called "Text editor", and with both of those you can edit quests easily and even stop and start the server anytime. There is even a mysql tool so you can edit your database directly from it as well. For this case, you can use the file manager that is built in to check if the files are in the right place and to move them if they aren't.
I can't say enough good things about how useful webmin is. It is just awesome!