Mosh (Mobile Shell) is a terminal application similar to SSH but it’s more robust, responsive and of course it’s mobile i.e it allows roaming (you will be connected to your server even the network/IP Address changes).
Mosh is a free software (available under GPL, hosted at GitHub) available for GNU/Linux, FreeBSD and Mac OS X. So you might be thinking that it’s a good replacement for ssh protocol – you’re right, in fact it is. So next time you login to your remote server then don’t forget to give it a try!
Why should you try Mosh (over SSH) ?
- It’s faster (no network lag)
- more robust
- no special privileges (superuser/root) is required
- designed from scratch for Unicode
- same login method (using public key or password)
How to Install Mosh in Ubuntu
In Ubuntu 12.04 LTS – it’s already there in the official package repository, just execute –
sudo apt-get install mosh
Older versions of Ubuntu i.e 11.10/…
$ sudo add-apt-repository ppa:keithw/mosh $ sudo apt-get update $ sudo apt-get install mosh