Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
noloblo
· 2y ago · 0 comments
how do you attach to a tmux session via ssh?
Comments
[–]
CaptainOfCoit
2y 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
2y ago
You SSH in and run `tmux attach`
[–]
praptak
2y ago
ssh -t -A yourhost.com "tmux attach -d"
[–]
bpanon
2y ago
tmux a