diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -8,17 +8,15 @@ with the ability to re-connect. ## Usage -The following command logs into the OpenSSH host `example.com`, creates and -attaches to a new Tmux session named `make`, and builds a project. +Build a project in a new Tmux session on a remote OpenSSH host: - $ ssh-tmux -s make example.com "cd project && make && sudo make install" + $ ssh-tmux example.com "cd project && make && sudo make install" -When you detach or disconnect, or simply want to watch from another client, you -can re-connect and re-attach as follows: +Connect and attach from another client or after disconnection: - $ ssh -t example.com tmux attach-session -t make + $ ssh -t example.com "tmux attach-session \; choose-tree" -See the manual page for more examples. +See the manual page for details and more examples. ## Installation |