summaryrefslogtreecommitdiff
path: root/doc/note/ssh
diff options
context:
space:
mode:
authorAndreas Fankhauser hiddenalpha.ch2023-08-02 18:44:42 +0200
committerAndreas Fankhauser hiddenalpha.ch2023-08-02 18:44:42 +0200
commit6134053988b3bbc96904c8defac324abad91aed1 (patch)
treeab51acb67f4663a3e960f547dd456c7297a27fb2 /doc/note/ssh
parentf0cafb3b0f4feba8b4b77725c3e8e116cf7d748a (diff)
downloadUnspecifiedGarbage-6134053988b3bbc96904c8defac324abad91aed1.zip
UnspecifiedGarbage-6134053988b3bbc96904c8defac324abad91aed1.tar.gz
Some links. Specific ssh client port.
Diffstat (limited to 'doc/note/ssh')
-rw-r--r--doc/note/ssh/ssh-usage.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/note/ssh/ssh-usage.txt b/doc/note/ssh/ssh-usage.txt
index 503aca7..f9bc2a8 100644
--- a/doc/note/ssh/ssh-usage.txt
+++ b/doc/note/ssh/ssh-usage.txt
@@ -25,6 +25,11 @@ request to "localhost:7080" on HOST.
ssh -L 127.0.0.1:1234:localhost:7080 HOST
+## Use explicit client port
+
+ssh -o 'ProxyCommand ncat -p12345 %h %p' MY_SERVER
+
+
## Run Cmd via jumphost
Source: "https://www.cyberciti.biz/faq/linux-unix-ssh-proxycommand-passing-through-one-host-gateway-server/"