As you may know, Mosh (mobile shell) is an open-source SSH alternative which provides both stability and reliability, in wireless network connections. Via its re-establish connection feature, the remote connection gets automatically restored after the internet connection gets interrupted. Also, it provides intelligent local echo and line editiong of user keystrokes.
A video presenting Mosh and its features is available below:
The latest version available is Mosh 1.2.5, which has been recently released, bringing the below new features:
- Bind to a specific IP address with –bind-server.
- MOSH_ESCAPE_KEY configures escape character.
- Support non-roaming IPv6.
- Implement XTerm mouse mode.
- Report Git revision along with version if available.
Up to date packages are available via some third party PPA, so installing the software on Ubuntu is piece of cake. Just add the PPA to your system, update the local repository index and install the mosh package:
$ sudo add-apt-repository ppa:keithw/mosh
$ sudo apt-get update
$ sudo apt-get install mosh
Optional, to remove mosh, do:
$ sudo apt-get remove mosh
The installation instructions should work on Ubuntu 15.10 Wily Werewolf, Ubuntu 15.04 Vivid Vervet, Ubuntu 14.04 Trusty Tahr, Ubuntu 12.04 Precise Pangolin, Linux Mint 17.2 Rafaela, Linux Mint 17.1 Rebecca, Linux Mint 17 Qiana, Linux Mint 13 Maya, Elementary OS 0.3 Freya, Elementary OS 0.2 Luna, Deepin 2014, Peppermint 6, Peppermint 5, LXLE 14.04, Linux Lite 2 and Pinguy OS 14.04.