top | item 40476661

(no title)

noloblo | 1 year ago

how do you attach to a tmux session via ssh?

discuss

order

CaptainOfCoit|1 year ago

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

n_jd|1 year ago

You SSH in and run `tmux attach`

praptak|1 year ago

ssh -t -A yourhost.com "tmux attach -d"