top | item 41222392

(no title)

f1refly | 1 year ago

We have -L though, isn't that kind of what you're looking for?

discuss

order

zokier|1 year ago

Common ssh (port) forwarding has lots of shortcomings that make it far less practical than X forwarding for this sort of use.

Sketching out this idea, what I'd want is that ssh would set some standardized env var pointing to unix socket (analogous to $DISPLAY), and applications when starting up should pick that up. That should trigger applications to start listening on another unix socket (instead of tcp port), and notify ssh through the socket pointed by the env var. Upon that notification, ssh should set up new tunnel and open new browser window pointing to the tunnel.

Nothing about that is technically particularly difficult (I'd say its almost trivial), but it'd need standardization to be truly useful.

SoftTalker|1 year ago

> Common ssh (port) forwarding has lots of shortcomings

What are the shortcomings? It always works very well when I use it.