3 ms·
Of course if the multiplex stalls or goes down so do all of the connections you have running through it. It's like screwing up Gnome Terminal or similar that u
by zengargoyle 6y ago
Of course if the multiplex stalls or goes down so do all of the connections you have running through it. It's like screwing up Gnome Terminal or similar that uses a main server and multiple clients. Screw one pooch and you're whole session of things is similarly screwed.
- MawKKe 6y agoAnother annoying "feature" is that opening a new shell with ssh -X will not enable the forwarding if the original master connection was not enabled with it.
- mrweasel 6y agoTrue, but I never see SSH go down, unless there's a network issue, in which case I lose all my connections anyway.
- beagle3 6y agoIndeed; however, if you have a lingering control file (because an old ssh process was killed, or there was a power failure and it was somehow not removed), it will either refuse to use it, or (occasionally, and I haven't been able to pinpoint when), would just wait there forever. edit: a typo
- dkdk8283 6y agoSounds more like a bug than a disadvantage
- jarvist 6y agoI have these shell aliases configured, to check and delete the master connections. (Often I end up with stale connections when I have a VPN up, and then just sleep my laptop.) alias ssh-MasterConnection-check="ssh -O check " alias ssh-MasterConnection-exit="ssh -O exit " + then you use them as 'ssh-MasterConnection-check host' etc.