# ssh-tmux The `ssh-tmux` utility executes a given command via `ssh` in a new `tmux` session on a specified host. The intended purpose is to execute long-running interactive remote commands with the ability to re-connect. ## Usage Build a project in a new Tmux session on a remote OpenSSH host: $ ssh-tmux example.com "cd project && make && sudo make install" Connect and attach from another client or after disconnection: $ ssh -t example.com "tmux attach-session \; choose-tree" See the manual page for details and more examples. ## Installation Run `make install` as root to install the `ssh-tmux` utility and man page.