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 @@ +
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.