diff options
author | Damien Miller <djm@mindrot.org> | 2008-05-19 15:34:50 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2008-05-19 15:34:50 +1000 |
commit | 7207f64a23a49a719aad3083c068f50e5034ccb8 (patch) | |
tree | 7ce6e49ae0713fad145ea9feb0181ec4d250ed75 /regress/dynamic-forward.sh | |
parent | 9417831eced03242e283e30286ac06ca2ce6d83e (diff) |
- djm@cvs.openbsd.org 2008/05/08 12:21:16
[monitor.c monitor_wrap.c session.h servconf.c servconf.h session.c]
[sshd_config sshd_config.5]
Make the maximum number of sessions run-time controllable via
a sshd_config MaxSessions knob. This is useful for disabling
login/shell/subsystem access while leaving port-forwarding working
(MaxSessions 0), disabling connection multiplexing (MaxSessions 1) or
simply increasing the number of allows multiplexed sessions.
Because some bozos are sure to configure MaxSessions in excess of the
number of available file descriptors in sshd (which, at peak, might be
as many as 9*MaxSessions), audit sshd to ensure that it doesn't leak fds
on error paths, and make it fail gracefully on out-of-fd conditions -
sending channel errors instead of than exiting with fatal().
bz#1090; MaxSessions config bits and manpage from junyer AT gmail.com
ok markus@
Diffstat (limited to 'regress/dynamic-forward.sh')
0 files changed, 0 insertions, 0 deletions