Evan Martin (evan) wrote in evan_tech,
Evan Martin

ssh multiplexing revisited

A year and a half ago I asked about ssh's multiplexing-related features. Today I thought to look for more information about this again. It still seems underdocumented.

But what I've figured out is that OpenSSH 4.2 now allows "opportunistic multiplexing". If you have ControlMaster auto and a ControlPath ... set up in you ~/.ssh/config, the first time you connect to a host it creates and leaves open a (UNIX domain) socket that subsequent ssh's to the same host will use. This makes these connections come up much more quickly. (Here's more info.)

However, what I think I really want is something that actually leaves the master connection open for a few seconds after I log out. Then, stuff that does a series of sftp's or commands executed via ssh will be able to effectively pass the open connection along in between them, instead of opening up and tearing it down repeatedly like they currently do. (In particular, I'm thinking of arch/darcs over ssh.) I suppose that's what fsh is for, though...

  • dremel

    They published a paper on Dremel, my favorite previously-unpublished tool from the Google toolchest. Greg Linden discusses it: "[...] it is capable…

  • socks5 proxying flash via ssh

    Suppose you're in Germany and want to watch some Flash-based videos that are IP-limited to the US for whatever reason. At first you'd think you could…

  • more on synonyms

    Before Chrome, this is what I spent much of my Google career working on.

  • Post a new comment


    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.