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"


Eternal Terminal (et) is an alternative to mosh

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"