Thursday, August 25, 2016

Mosh on Ubuntu with UFW firewall

Finally decided to give Mosh a spin due to some connection reliability issues at one location. Was glad to see it simply sits alongside SSH and is a breeze to setup with the one & only caveat being I had to open some ports on the server side.

First simply install Mosh

apt install mosh

Then if you are using ufw add firewall rules to let the mosh server communicate...

ufw allow 60000:60100/udp