Tunnel through another host using ProxyCommand.
Section: Jump Hosts and Proxies
ProxyCommand with netcat
bash
bash
ssh -o ProxyCommand='ssh bastion.example.com -W %h:%p' user@private.internalExplanation
Tunnel through another host using ProxyCommand.
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 Jump Hosts and Proxies