Mosh install
From wikinotes
You'll need to install mosh on both the client/server.
Mosh works by first connecting over ssh, then starting and communicating via the mosh-daemon.
There is no mosh service to start on either the client or server, it is started by ssh.
pacman -S openssh-portable mosh # arch
pkg install openssh mosh # FreeBSD
# you'll also need to configure your openssh to receive connections