Koozali.org: home of the SME Server

Remote reboot & shutdown via web without Server Manager?

Anonymous

Remote reboot & shutdown via web without Server Manager?
« on: May 27, 2004, 11:45:43 PM »
Does anyone know of a script or something I could use to shut down or reboot my SME server remotely?

I find it useful to access my webmail at work, however at work they block access to secure sites so I can't login to my SME server Server Manager.

What I'd like is to be able to connect to my server via a web browser, enter a password and then be able to shutdown and restart the server.

Rob

RavenIV

Remote reboot & shutdown via web without Server Manager?
« Reply #1 on: May 28, 2004, 12:31:45 AM »
two ideas:
- ssh
- map your default-http-port to the server-manager

cheers

Offline wellsi

  • *
  • 475
  • +0/-0
    • http://www.wellsi.com
Remote reboot & shutdown via web without Server Manager?
« Reply #2 on: May 28, 2004, 09:41:17 AM »
http://mirror.contribs.org/smeserver/contribs/dmay/mitel/contrib/webconsole/

This could be a solution,
it allows you console access via your web-browser.
Although by default it only allows for https due to the httpd.conf template which has RequireSSL On


However are you just looking for a CGI (or PHP) script that after asking for username/password allows two options:
a) Reboot.
b) Shutdown.

This should be fairly easy to produce - although I don't have such a script at this time.
............