Hacker News new | ask | show | jobs
by noloblo 754 days ago
how do you attach to a tmux session via ssh?
4 comments

Other answers tell you how to attach, but vital missing piece is that beforehand, don't "quit"/"exit" the session but "detach" from it instead, so you can attach later. By default the command is $PREFIX + D
You SSH in and run `tmux attach`
ssh -t -A yourhost.com "tmux attach -d"
tmux a