4 Comments
User's avatar
Neural Foundry's avatar

This is a fantastically clear breakdown of a feature that trips up so many devs initially. The distinction between the two 'localhost' values in the -L command is particularly well explained; that relative context from the SSH server's perspective is exactly where the mental model usually breaks down for beginners. I also appreciate the tip about the -g flag for allowing LAN access—it’s a lifesaver for team demos but also a massive security footgun if you forget it’s active on a public network! One subtle point worth mentioning for those using this in production: relying on long-lived SSH tunnels can be brittle without tools like autossh to handle keepalives and reconnection logic. It’s fine for ad-hoc debugging, but automation scripts usually need that extra layer of reslience.

Expand full comment
TRÄW🤟's avatar

Thanks for the additions 🔥

Expand full comment
MikeLitoris's avatar

good stuff!

Expand full comment
TRÄW🤟's avatar

Many thanks..stay tuned for more.

Expand full comment