First, know where the work lives
Your Android SSH client connects to a remote shell. tmux runs on that remote machine and manages sessions, windows and panes there. It is not a file-sync service, and you do not need to run tmux locally on the phone.
You need access to an SSH server, a network route to it, and tmux installed on that host. The commands below run on the remote host after you connect. They follow the official tmux getting-started guide.
1. Create a named session
Open your SSH connection, then start a session with a name you can recognize:
tmux new-session -s workRun your normal commands inside that session.
2. Detach when you step away
With tmux’s default key bindings, press Ctrl + b, release the keys, then press d. You leave the session running and return to the remote shell. Custom tmux configurations can change these keys.
3. Find and reattach to it
The next time you connect over SSH, list the server’s sessions and attach to the one you named:
tmux list-sessions
tmux attach-session -t workOn Android, Nukemichi also has controls for choosing existing tmux sessions and windows. See the Android client details for the current preview’s requirements.
If the session is missing
Check that you connected to the same host with the same account. A server restart, a session that exited, or a different tmux socket can also explain an empty list. Detaching preserves a running session; it does not recover a terminated one.
What this does not promise
tmux preserves server-side terminal work while it remains running. It does not prevent phone sleep, connection loss or network changes. Reconnect over SSH and reattach when the server is reachable again. Nukemichi’s current preview does not include Mosh or cross-device sync.
Published October 11, 2026 by Paperboy. Commands use standard tmux defaults; server configuration may differ.