add ssh cheat

This commit is contained in:
Felix Pankratz 2025-02-03 14:06:13 +01:00
parent 07336c088f
commit 67125cb5fe

View File

@ -3,3 +3,6 @@
# forward remote port 8080 to localhost:1337 # forward remote port 8080 to localhost:1337
`ssh -L 1337:127.0.01:8080 user@host` `ssh -L 1337:127.0.01:8080 user@host`
# forward local port 8080 to remote:1337
`ssh -R 1337:localhost:8080 user@host`