Multiple (multiplexed) simultaneous ssh connections - Cygwin bug?

Darren Tucker dtucker at
Wed Sep 13 00:49:35 EST 2006

On Tue, Sep 12, 2006 at 10:38:36AM -0400, Goldburt, Dan wrote:
> Not necessarily. The only modification was to increase MAX_SESSIONS per
> connection from 10 to 128. But even without the change, let's say I have
> one multiplexed connection that is hosting 10 sessions. I can also
> simultaneously open 15 regular ssh connections to have 25 sessions
> opening up, and there is a good chance I will overrun the fd_set.

No, the file descriptor table (and thus fd_set) is per-process and each
SSH connection has its own sshd process handling it.

(It's a bit late here to go into the rest of your mail, sorry.)

Darren Tucker (dtucker at
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

More information about the openssh-unix-dev mailing list