blob: 1aba27a510177cbeacd79601fb2579b808cd10f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# 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.
|
for my tech blog and contact information.