srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/tools/tmux.md
diff options
context:
space:
mode:
Diffstat (limited to 'tools/tmux.md')
-rw-r--r--tools/tmux.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/tmux.md b/tools/tmux.md
index 541fc40..ad62f0c 100644
--- a/tools/tmux.md
+++ b/tools/tmux.md
@@ -206,6 +206,13 @@ $ `tmux attach-session -t mysession`
`<prefix> )`
- - -
+#### SSH
+* Make sure ssh is setup and use this command on the remote-machine
+`$ tmux new-session -s pair`
+* Connect to the remote tmux session
+`$ ssh -t user@remote-machine tmux attach-session -t pair`
+- - -
+
#### Copy Mode
* Use vi keys
`:setw -g mode-keys vi`