Create a local forward through a ProxyJump bastion.
Section: Tunnel Recipes
Tunnel via jump host
bash
bash
ssh -J bastion.example.com -L 9200:elastic.internal:9200 user@private.internalExplanation
Create a local forward through a ProxyJump bastion.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Tunnel Recipes
PostgreSQL tunnel
Access a private PostgreSQL instance through a bastion.
Clear configured forwards on command line
Override config-defined forwards for one invocation.
Create a local port forward
Forward a local port to a remote host and port.