which are the exact effects of MaxSessions

Christoph Anton Mitterer calestyo at scientia.net
Fri Feb 20 12:51:29 AEDT 2015


Hey.

I wondered a bit which the exact effects of MaxSessions are.

The documentation says:
        Specifies the maximum number of open sessions permitted per net‐
        work connection.  The default is 10.


And it apparently seems that setting e.g. the following in sshd_config:
  MaxSessions 0
     => no logins possible at all

  MaxSessions 1
     => control channel muxing basically forbidden from the server side

  MaxSessions n
     => at most n sessions may use a mux, including the one which
        initiated it
        but further muxes (with again n session) may be created by that
        client


Is it just that? Or are there any other side effects which I can't see?


Thanks,
Chris.

btw: Would be nice if something like the above could be added to the
manpage for clraification :)



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5313 bytes
Desc: not available
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20150220/9aeb08ce/attachment.bin>


More information about the openssh-unix-dev mailing list