Hacker News new | past | comments | ask | show | jobs | submit login

> (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



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: