With e.g. tmux you'll piggyback on decades of SSH development.
Or Mosh, just like OP said. Mosh handles interruptions much better than SSH does
reply
With e.g. tmux you'll piggyback on decades of SSH development.