News for hackers. Stuff that matters.
Re:Ask HN: Why is there no native SSH hook to run a local co... by ranger_danger on Wednesday September 10, 2025 @10:10AM (#45197977)
Yea I would consider this very poorly documented, although I'm sure the authors would be quick to point out how dumb I am for even suggesting that.

I bet most ssh users don't even know about the -w option. It even supports layer2 tunnels!

And somehow https://wrongthink.link/posts/all-you-need-is-ssh/ does not even mention this usecase.

Re:Ask HN: Why is there no native SSH hook to run a local co... by tetris11 on Wednesday September 10, 2025 @12:47PM (#45200396)
I have to admit I'm not certain what use case the -w option serves. It seems like a fancy port forwarding?
Re:Ask HN: Why is there no native SSH hook to run a local co... by dylan604 on Wednesday September 10, 2025 @04:08PM (#45202907)
It's funny how after using an app like ssh/awk/sed/grep for so many years and achieving so much functionality with it with some pretty "advanced" features is still but a scratch on the surface of actual abilities or what other people do with them. I'd wear it like a badge of honor if I ever created something so useful and universally used. To the point, I'd probably even use my initials in the name of the app too!
Re:Ask HN: Why is there no native SSH hook to run a local co... by ranger_danger on Wednesday September 10, 2025 @03:29PM (#45202476)
Check the section in the manpage for ssh(1) named: SSH-BASED VIRTUAL PRIVATE NETWORKS
Re:Ask HN: Why is there no native SSH hook to run a local co... by capitainenemo on Monday September 15, 2025 @07:48PM (#45256338)
noticed these replies in my history... personally I think sshtunnel is a lot more convenient most of the time.