Mosh: when your ssh connection breaks frequently

Mosh is a ssh-like tool that is really a drop-in replacement for a lot of SSH problems.
It works:
  • <span style=“line-height: 14px;”>when you switch networks: connecting or disconnecting from VPN, using mobile networks</span>
  • when your connection frequently breaks / halts without unknown reason
  • when you have to login to servers on the other side of the world
  • etc….
All of this is achieved thanks to using UDP instead of TCP.
Mosh uses normal SSH to authenticate users, and you can use your keys, and everything looks exactly the same.
Just install mosh package (on most distributions)
From now on instead using ssh:
You can do:
More about mosh is available here: http://mosh.mit.edu/