Remote Persistent Workspace in tmux

From the tmux cheat sheet ยท Formats and Automation ยท verified Aug 2026

Remote Persistent Workspace

Reconnect to a named tmux session over SSH.

bash
ssh server -t 'tmux new-session -A -s work'
๐Ÿ“Œ -t gives SSH a terminal for interactive tmux
๐Ÿ’ก Named sessions make reconnection predictable
โš ๏ธ tmux does not survive a host reboot by itself
๐Ÿ” Network loss usually leaves the session running
sshremotepersistence

Continue with tmux

Save the full cheat sheet or work through every related task.

More tmux tasks

Back to the full tmux cheat sheet