cheat/cheats/ssh

6 lines
154 B
Plaintext
Raw Permalink Normal View History

2024-10-08 12:40:26 +02:00
# use a jumphost
2024-10-31 12:56:11 +01:00
`ssh -J user@gateway[,user@gateway2] user@internal`
# forward remote port 8080 to localhost:1337
`ssh -L 1337:127.0.01:8080 user@host`