ssh directly into tmux
- 30 Oct 2017: Post was created (diff)
I use this all the time. If there are no active sessions, it most likely means my server has rebooted unexpectedly.
$: ssh user@myserver -t tmux attach -t 0

I use this all the time. If there are no active sessions, it most likely means my server has rebooted unexpectedly.
$: ssh user@myserver -t tmux attach -t 0
If you have any comments or feedback, please send me an e-mail. (stig at stigok dotcom).
Did you find any typos, incorrect information, or have something to add? Then please propose a change to this post.