SSH Resilient Connections using Mosh

SSH Resilient Connections using Mosh

Mosh is SSH that you can be interrupted.

Mosh: the mobile shell

There is no “native” mosh executable for Windows and the Chrome browser extension is the easiest way to use mosh on Windows.

Well, it is really not true. You can use it in Cygwin/Babun or you can install beautifull and free MobaXterm

10 best SSH Clients for Windows: free alternatives to PuTTY - Page 2 of 2 Comparison of SSH clients - Wikipedia, the free encyclopedia

Setup

Setup Mosh on server first:

# install
apt-get -y install mosh

# check it is working with
mosh --version

Setup client on Windows:

It’s easy to install mosh client on Windows, using Babun. Just don’t forget to start it as administrator; that is crucial.

pact install mosh

And as I was using SSH config file, i can just type:

mosh savioko

And it just works!

Firewall ports

On Ubuntu, type:

sudo ufw allow 60000:61000/udp
date 01. Jan 0001 | modified 28. May 2021
filename: SSH Resilient Connections using Mosh