Comment by theideaofcoffee

Comment by theideaofcoffee 5 hours ago

3 replies

The filthiest SSH tunneling hack that I've ever done was at 3AM while in a three-way... datacenter connection. The interesting part of that, while the three facilities, spaced out over a single metro area had upstream transit connectivity to the rest of the net, only two pairs were able to reach the other due to some odd routing policies that weren't able to be resolved in time.

That meant that A could connect to B, and only B could connect to C. The data I had to move from facility A to facility C via B in the most ridiculous rsync+ssh tunnel+keys+routing shenanigan mashup I've ever done. It took a few tries to get the incantation exactly right, but it was magical seeing it all move as one.

Looking back it is super obvious how I'd do it now, but back then being green, was a huge accomplishment. I still remember the exhilaration when I confirmed everything was synced up.

lamnguyenx 5 hours ago

just check my comment in in this post using `~/.ssh/config` with ProxyJump, you can virtually jump between A B C D E ... or whatever.

  • theideaofcoffee 5 hours ago

    Yep, had I known that nearly 20 years ago I would have done just that. That's the ideal way to do it now!

    • bogantech 21 minutes ago

      If it makes you feel any better, ProxyJump was only added in 2016