From 8dea46938cc1fc23a78aba7c6cfda5824426e400 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Fri, 11 May 2012 01:09:46 +0200 Subject: [PATCH] Added out-of-band console instruction page --- frontend/module.vps.console.php | 16 ++++++++++++++++ frontend/module.vps.php | 3 ++- frontend/templates/vps.console.tpl | 14 ++++++++++++++ 3 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 frontend/module.vps.console.php create mode 100644 frontend/templates/vps.console.tpl diff --git a/frontend/module.vps.console.php b/frontend/module.vps.console.php new file mode 100644 index 0000000..f5cb3dc --- /dev/null +++ b/frontend/module.vps.console.php @@ -0,0 +1,16 @@ +strings, array( + 'host' => htmlspecialchars($_SERVER['SERVER_NAME']) +)); diff --git a/frontend/module.vps.php b/frontend/module.vps.php index 167d216..4c6e011 100644 --- a/frontend/module.vps.php +++ b/frontend/module.vps.php @@ -38,7 +38,8 @@ try '^/([0-9]+)/(stop)/?$' => "module.vps.overview.php", '^/([0-9]+)/(restart)/?$' => "module.vps.overview.php", '^/([0-9]+)/reinstall/?$' => "module.vps.reinstall.php", - '^/([0-9]+)/password/?$' => "module.vps.password.php" + '^/([0-9]+)/password/?$' => "module.vps.password.php", + '^/([0-9]+)/console/?$' => "module.vps.console.php" ) ); diff --git a/frontend/templates/vps.console.tpl b/frontend/templates/vps.console.tpl new file mode 100644 index 0000000..f561096 --- /dev/null +++ b/frontend/templates/vps.console.tpl @@ -0,0 +1,14 @@ +

Out-of-band console

+ +

If you cannot access your container for some reason, you can use the out-of-band console (also known as shell dropper) to invoke a root shell.

+ +

To use the out-of-band console, connect through SSH as follows:

+ + + +

After logging in with the above details, you will have to enter your VPS panel login details, after which you can select a container to invoke a root shell on.