Skip to content

Commit 5bc4d07

Browse files
committed
SSH background multiplexing snippets
1 parent bef6240 commit 5bc4d07

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

snippets/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ Some pieces of code I find useful for some reason.
169169
- `ssh -oServerAliveInterval=30 -oExitOnForwardFailure=yes [email protected] -p2222 -NvR80:/tmp/my.sock`
170170
- `ssh -oServerAliveInterval=30 -oExitOnForwardFailure=yes [email protected] -p2222 -NvL/tmp/my.sock:127.0.0.1:8080`
171171
- `ssh -oServerAliveInterval=30 -NvMS~/.ssh/cm-%C [email protected]`, `ssh -S~/.ssh/cm-%C [email protected]`
172+
- `ssh -oServerAliveInterval=30 -NfMS~/.ssh/cm-%C [email protected]`, `ssh -S~/.ssh/cm-%C [email protected] -Oexit`
172173
173174
- `LC_ALL=C grep --color '[^ -~]' myfile.txt`, `LC_ALL=C sed -i 's/[^ -~]/?/g' myfile.txt`
174175
- `sed -Ei 's/^#?force_color_prompt=.*$/force_color_prompt=yes/' ~/.bashrc`

0 commit comments

Comments
 (0)