Mosh is a ssh client server that is aware of connectivity problems of the original ssh implementation. Mosh can migrate physical connections and ip addresses while staying connected. Mosh depends upon SSH.
root #emerge net-misc/mosh
Mosh requires utf8 locales set to run.
root #echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
root #eselect locale set en_US.utf8
remote host only needs running ssh, mosh package installed, and utf8 locale set.
user $mosh email@example.com