SSH multi-hop connections with netcat mode proxy
- by aef
Since OpenSSH 5.4 there is a new feature called natcat mode, which allows you to bind STDIN and STDOUT of local SSH client to a TCP port accessible through the remote SSH server. This mode is enabled by simply calling ssh -W [HOST]:[PORT]
Theoretically this should be ideal for use in the ProxyCommand setting in per-host SSH configurations, which…