Mosh: mobile shell (ssh replacement) with roaming support and supporting intermittent connectivity

Recently I was confronted with very low data throughput on my mobile data connection. Because of the high latency you have to wait a long time for the server reply before you can even see you your own typing. That’s really awful. In addition, dropping connections can really be a problem.

The solution is Mosh – the mobile shell. The key features are:

– allows roaming
– supports intermittent connectivity
– provides intelligent local echo and line editing of user keystrokes

The installation is easy. For debian type

 apt-get install mosh

That’s it.

Now you have to open a suitable port (UDP) in your firewall. I chose 63310.

On the client side you also have to specifiy the port. I use JuiceSSH on my Android which has full Mosh support.

You can specify the port in global settings:

Screenshot_2014-03-27-12-38-37

Or just for a specific connection:

Screenshot_2014-03-27-12-38-49

 

1 Comment

Leave a Reply

Your email address will not be published. Required fields are marked *