I continued working on the S.A.R.T Interface, this time adding Shellinabox. Shellinabox is web-based terminal, perfect for the S.A.R.T interface. By implementing a shell terminal, there is almost no need to actually connect a monitor to the S.A.R.T robot – anything can be done from the web interface.
I installed Shellinabox with the following command:
1 | sudo apt-get install shellinabox |
Shellinabox automatically creates a self-signed SSL certificate, however because Google Chrome doesn’t like this and as there isn’t any real need for security (since anyone accessing the shell will have to be on our S.A.R.T network), I disabled SSL security by editing the file at:
1 | sudo gedit /etc/default/shellinabox |
And edited the line “SHELLINABOX_ARGS” to:
1 | SHELLINABOX_ARGS="--no-beep --disable-ssl " |
Finally, I edited the interface to add login instructions.