How to install and enable shellinabox

In your shell do following...

yum install shellinabox
 service shellinaboxd status
 locate shellinabox
 

Output of above command...

/usr/sbin/shellinaboxd
 /usr/share/shellinabox
 /usr/share/doc/shellinabox-2.20
 /usr/share/doc/shellinabox-2.20/AUTHORS
 /usr/share/doc/shellinabox-2.20/NEWS
 /usr/share/doc/shellinabox-2.20/README
 /usr/share/doc/shellinabox-2.20/README.Fedora
 /usr/share/doc/shellinabox-2.20/print-styles.css
 /usr/share/doc/shellinabox-2.20/shell_in_a_box.js
 /usr/share/doc/shellinabox-2.20/styles.css
 /usr/share/man/man1/shellinaboxd.1.gz
 /usr/share/shellinabox/color.css
 /usr/share/shellinabox/monochrome.css
 /usr/share/shellinabox/white-on-black.css
 /var/lib/shellinabox
 /var/lib/shellinabox/certificate.pem
 

Configure to assign ip address

vi /etc/sysconfig/shellinaboxd
 
USER=<username>
 GROUP=shellinabox
 CERTDIR=/var/lib/shellinabox
 PORT=4200
 OPTS="-t -s /:SSH:<ip_address>"
 

Then run

service shellinaboxd restart
 

now go to <ip_address>:4200 in your browser to login

Thank you for reading

command line history