3 ms·
> (I just realized that this slightly confused article seems to accomplish the same by using a convoluted setup of port-forwardings and netcat.) Yeah, the arti
by sampo 13y ago
> (I just realized that this slightly confused article seems to accomplish the same by using a convoluted setup of port-forwardings and netcat.)
Yeah, the article sets separately first
Host bar
...
and then
Host behind.bar
...
But it can also be done by just one step:
host behindbar
User <user-behindbar>
Hostname behindbar.domain
ProxyCommand ssh <user-bar>@bar.domain nc %h %p 2> /dev/null