by initself · 15y ago · 0 comments
It's a fairly effective way of getting around situations where the up-front cost of establishing the connection is high (high-latency remote connections, in particular).
You _can_ create tunnels via ssh, even with PuTTY. You _cannot_ use the feature I'm looking for. Tongue in cheek I'd say check the docs on the ControlMaster feature, but this is what it boils down:
Terminal 1:
ssh someHostThatYouNeedForLotsOfThings [options here]
(.. wait for the negotiation, connect. Good)
Terminal 2 to N
ssh thatVerySameHost [options here]
(reuses the handshake, is _much_ faster to connect)
Why do I want that? Couldn't I just use one connection and start tmux/screen? Turns out, no, I cannot. As soon as you have anything that actually needs to send data from your machine to the target host (i.e. nothing interactive. Think scp. git.) you need to open a new connection - and that's when I'm hoping for this feature on Windows.
You can sit and pine for some random GUI feature if you want. The rest of us are getting work done.