srdusr
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsrdusr <[email protected]>2023-06-25 16:16:54 +0200
committersrdusr <[email protected]>2023-06-25 16:16:54 +0200
commit115b3d7155cdf235e4a4b5c1aca736ed6b76f783 (patch)
tree6c4f3a65ca48f43e49618bbfe78c59fa1407852e
parente157c0554ebd878a5d451fe4c6a2ade360f74350 (diff)
downloadnotes-115b3d7155cdf235e4a4b5c1aca736ed6b76f783.tar.gz
notes-115b3d7155cdf235e4a4b5c1aca736ed6b76f783.zip
Add ssh remote pairing info
-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`