The moment your laptop goes to sleep, your phone switches from Wi-Fi to cellular data, or you accidentally close the browser tab, the TCP socket drops. In standard SSH configurations, dropping the socket sends a SIGHUP (hangup signal) to the child process, immediately terminating your running command, build script, or test suite.
tmux (Terminal Multiplexer) runs as a persistent background daemon on your Linux server. When you run commands inside tmux:
1. The processes run in a virtual pseudo-terminal (PTY) managed by the local tmux server.
2. If your SSH connection drops, the tmux session remains in a "detached" state — processes continue executing at 100% speed.
3. Upon reconnecting, you simply re-attach to the session, and your exact screen state, shell history, and cursor position are instantly restored.tmux new -s dev, tmux ls, tmux attach -t dev, and managing prefix shortcuts like Ctrl+B.REMOSSH makes this visual and seamless right in your browser:
tmux (or GNU screen) is installed.Esc, Ctrl, Alt, and arrow keys so you can navigate tmux comfortably from an iPhone, Android, or tablet.0 commands to memorize
REMOSSH gives tmux a UI: see every session, then create, resume, rename, or kill it with a click from any browser or your phone.