Shell In A Box implements a web server that can export arbitrary command line tools to a web based terminal emulator. This emulator is accessible to any JavaScript and CSS enabled web browser and does not require any additional browser plugins. Most typically, login shells would be exported this way:

shellinaboxd -s /:LOGIN

This command starts a web server at http://localhost:4200 that allows users to login with their username and password and to get access to their login shell.

All client-server communications are encrypted, if SSL/TLS certificates have been installed.

More details are available in the manual page.

Installation and Setup

shellinabox is not yet in the Ubuntu package repositories so you must download and install one of the Debian packages from the official project page.

After install the deb.Navigate to https://yourcomputername:4200 in your web browser.

Change the Default Port:

Edit /etc/default/shellinabox so that the default port is 443.

sudo gedit /etc/default/shellinabox

Then restart the shellinabox daemon:

sudo invoke-rc.d shellinabox restart

Now you can access your shellinabox server with an easier URL: https://yourcomputername

Access your shellinbox server from outside your LAN

Configure your home router to forward TCP traffic port 443 (assuming you followed the above tip) to your computer’s IP address. You can right click on the Network Manager applet and choose connection information to find your computers IP address. Now you can access your computer when away from home by navigating to https://yourpublicIPaddress. You can get your public IP address by going to To make it easier to remember your public IP address you can register with a Dynamic DNS service.

Check here