The magic command: tmux new-session -A -s default Or, if you use mosh: mosh $host -- tmux new-session -A -s default linuxmoshtmux