From d40e2797bec5ca908018956fb32cf72b27059511 Mon Sep 17 00:00:00 2001 From: Nikolas Grottendieck Date: Mon, 24 Feb 2025 18:14:53 +0100 Subject: [PATCH] feat: add additional SSH example for port-forwarding --- stow/ssh/dot-ssh/config.d/95-examples | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/stow/ssh/dot-ssh/config.d/95-examples b/stow/ssh/dot-ssh/config.d/95-examples index b041f7ed903..56f938064a9 100644 --- a/stow/ssh/dot-ssh/config.d/95-examples +++ b/stow/ssh/dot-ssh/config.d/95-examples @@ -37,3 +37,10 @@ # ProxyJump jump.example.org #Host *.example.com !extra-jump.example.com # ProxyJump jump.example.org,extra-jump.example.com + +# Connect to a remote host and _just_ forward client port 8080 to remote port 8080 +# No TTY is requested and no remote session is requested, we just want the port forward +#Host example.org +# RequestTTY no +# SessionType none +# LocalForward 8080 localhost:8080