mosh

Updated: 2020-06-29

mosh + tmux

mosh -6 [dev-server-address or ssh alias] -- tmux a

You can create an alias in your bash profile so you don't need to type the above command

alias dev="mosh -6 [dev-server-address or ssh alias] -- tmux a"

Alternative

Eternal Terminal (et) is an alternative to mosh https://github.com/MisterTea/EternalTCP

Installing ET on your client # For mac, the simplest way is to use homebrew: brew install MisterTea/et/et

For Ubuntu, use the ET PPA:

sudo add-apt-repository ppa:jgmath2000/et
sudo apt-get update
sudo apt-get install et

Start et:

et -c="tmux -CC a" domain.com:8080