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
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:
Or just for a specific connection: