Display ssh shell in web browser
![display ssh shell in web browser display ssh shell in web browser](https://www.it.ucsb.edu/sites/default/files/images/2018-06/linux_vpn_4.png)
How to find which port is free #telnet localhost or #netstat -anp | grep On Debian & Ubuntu #vim /etc/default/shellinabox # TCP port that shellinboxd's webserver listens on By default a new self-signed SSL certificate gets created automatically under “ /var/lib/shellinabox” to use HTTPS protocol. For security reasons, you may change this default port to a random port (For eg: 4312 or whichever is free). Shellinabox has a built-in web server that runs as a web based SSH-Client and listens on port 4200.
![display ssh shell in web browser display ssh shell in web browser](https://www.ftptoday.com/hs-fs/hubfs/assets/images/tour%20screenshots/end%20user%20tour/files%20branded.png)
> Package shellinabox.x86_64 0:2.5 set to be updated Then install shellinabox using the following yum command. Next you need to configure EPEL Repository: How to enable EPEL Repo: Processing triggers for ureadahead (0.100.0-16) On RHEL, CentOS and FedoraĬonfigure yum repository on RedHat based distributions. The following NEW packages will be installed: Shellinabox - publish command line shell through AJAX apt-get install shellinabox On Debian and Ubuntu apt-cache search shellinabox Make sure that your repository is enabled and available to install shellinabox. Installing Shellinabox on Linuxīy default, Shellinabox package is included in all Linux distribution repositories including Debian, Ubuntu and CentOS. Assuming that your Linux server is enabled with Firewall and allows only necessary ports (says HTTP(s)), then Shellinabox is an ideal solution to provide web based Shell terminal to users. In this tutorial we shall see how to install Shellinabox (Pronounced as “Shell In A Box”) for remote access to Linux SSH terminal using AJAX/JavaScript and CSS enabled web browsers.