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

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 SSL certificate 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:

OpenRC
Add the service to the default runlevel:

Start the service now:

systemd
To start the service at boot:

Start the service now:

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

External resources

 * https://www.unixmen.com/shellinabox-a-web-based-ajax-terminal-emulator/ - A guide on setting up shellinabox.