Shellinabox

Article description::allows access to the command-line from web based terminal emulator. It is useful for web-based administrator access to a system. It is accessible to any JavaScript and CSS enabled web browser and does not require any additional browser plugins. . shellinabox is not secured by default unless SSL/TLS certificates have been installed or generated.

Securing the connection
The default configuration exposes a login shell with SSL disabled on the localhost interface only.

Information about the procedure for generating self-signed SSL certificates is explained here.

To generate an SSH certification for use shellinabox the following commands can be issued:

For Gentoo user convenience, the ebuild maintainer has provided the above commands in a file located here:

This script can simply be executed in order to generate the SSL certificate:

Files

 * - Global (system wide) configuration file.
 * - Local (per user) configuration file.

OpenRC
Add the service to the default runlevel

Start the service now:

Usage
After the service is running, open a web browser to the IP address of the system and port :