SSH "alternative" mosh

02 Jul 2013

A couple of months ago I read an article (English translation) written by a former co-worker of mine, Udo Seidel, about the SSH “alternative” mosh. This was exactly the tool I was searching for. It was always a hassle to re-connect all SSH sessions after switching from my home’s Wifi connection to the one in the office. Furthermore I had to travel a lot and therefore using many different Wifis or mobile broadband connects in several European countries. Screen helped me a lot these times but it still was much effort.

mosh (mobile shell) was developed at MIT with the aim to fix the main issues SSH has. The Website says, mosh is a Remote terminal application that allows roaming, supports intermittent connectivity, and provides intelligent local echo and line editing of user keystrokes. This exactly describes the advantages of mosh compared to ssh. No more re-connecting after a network change. See exactly what you typed on slow connections. Really love it.

Mosh is available for most popular Linux distributions, OS X and Windows via Cygwin. And it is easy to use. After you installed mosh on your local machine and the remote server, you can just connect to the server via mosh