ssh directly into tmux

Revision history
Tags: ssh tmux

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.