Comment Comment by hprotagonist SSH straight into tmux Host example.org RemoteCommand tmux new -A -s default Instead of this, i go one step further, and in .zshrc on [email protected]: if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then [ -z "${TMUX}" ] && tmux new-session -A -s default fi parent hprotagonist 4 years ago