Hacker News new | past | comments | ask | show | jobs | submit login

how do you attach to a tmux session via ssh?



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




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: