Jan 13, 2022

Two Interesting shells

Today, I found two interesting shells that related to SSH.

First, Shell-in-a-box.

Shell-In-A-Box is a web-based shell terminal. It has a built-in web server that runs as on a specified port (default at 4200/tcp) and prompt you a web terminal emulator to access a SSH server remotely using any AJAX/JavaScript and CSS enabled browsers without any additional browser plugins (such as FireSSH).

Web-based SSH is very useful when you are protected with firewall and only HTTP(s) traffic can get through.

Here, I just tested with Microsoft Edge browser and Firefox. 

Shell-in-a-Box

Second, Mobile-Shell.

I see Mofile-Shell or mosh as an add-on to SSH server. Because mosh can communicate over UDP at different dynamic port range (60000-61000), it is useful for providing robust and responsive remote connectivity over WiFi, cellular or long distance links compare to OpenSSH connection.

  • Stay connected while roaming among ISP, hotel WiFi, or LTE on the beach.
  • No daemon running and no superuser privilege needed.
  • The client and server are executables run by an ordinary user and last only for the life of the connection.

 

Links:

  • https://code.google.com/p/shellinabox/
  • https://www.tecmint.com/shell-in-a-box-a-web-based-ssh-terminal-to-access-remote-linux-servers/
  • https://mosh.org/
  • https://www.unixmen.com/ssh-vs-mosh/