[Bug 1090] Increase MAX_SESSIONS?

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Sep 23 21:43:57 EST 2005


http://bugzilla.mindrot.org/show_bug.cgi?id=1090

           Summary: Increase MAX_SESSIONS?
           Product: Portable OpenSSH
           Version: -current
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: sshd
        AssignedTo: bitbucket at mindrot.org
        ReportedBy: cjwatson at debian.org


Now that we have the excellent new session multiplexing facility, I have various
users (including myself) who'd like to use it to make their use of ssh more
efficient in an environment where we have to ssh ProxyCommand through a bastion
host in order to get to other systems in a datacentre. The obvious
implementation of this is to set 'ControlMaster auto' on the configuration
stanza for the bastion host, which works well up to a point.

However, each sshd only supports 10 sessions (MAX_SESSIONS), which makes this
rather inconvenient. I realise that the functions in session.c do linear
searches through the sessions array etc., but 10 seems a bit small nowadays with
good session multiplexing support. Could this be raised (64 or so?), and perhaps
made into a configuration parameter as well?



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list