Skip to content

Commit 4fa7165

Browse files
committed
feat: add additional SSH example for port-forwarding
1 parent 8910fea commit 4fa7165

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

stow/ssh/.ssh/config.d/95-examples

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,10 @@
3737
# ProxyJump jump.example.org
3838
#Host *.example.com !extra-jump.example.com
3939
# ProxyJump jump.example.org,extra-jump.example.com
40+
41+
# Connect to a remote host and _just_ forward client port 8080 to remote port 8080
42+
# No TTY is requested and no remote session is requested, we just want the port forward
43+
#Host example.org
44+
# RequestTTY no
45+
# SessionType none
46+
# LocalForward 8080 localhost:8080

0 commit comments

Comments
 (0)