diff options
author | 2016-02-05 02:37:56 +0000 | |
---|---|---|
committer | 2016-02-05 02:37:56 +0000 | |
commit | 9c2332942f85c4f4d951c907e29560a0e2f71925 (patch) | |
tree | 1023c3cb74e4783b37a55026dc0890a9fed0b033 | |
parent | printf argument casts to avoid warnings on strict compilers (diff) | |
download | wireguard-openbsd-9c2332942f85c4f4d951c907e29560a0e2f71925.tar.xz wireguard-openbsd-9c2332942f85c4f4d951c907e29560a0e2f71925.zip |
better description for MaxSessions; bz#2531
-rw-r--r-- | usr.bin/ssh/sshd_config.5 | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/usr.bin/ssh/sshd_config.5 b/usr.bin/ssh/sshd_config.5 index 8e73fb80dce..7cecc2441f6 100644 --- a/usr.bin/ssh/sshd_config.5 +++ b/usr.bin/ssh/sshd_config.5 @@ -33,8 +33,8 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $OpenBSD: sshd_config.5,v 1.215 2015/11/13 04:38:06 djm Exp $ -.Dd $Mdocdate: November 13 2015 $ +.\" $OpenBSD: sshd_config.5,v 1.216 2016/02/05 02:37:56 djm Exp $ +.Dd $Mdocdate: February 5 2016 $ .Dt SSHD_CONFIG 5 .Os .Sh NAME @@ -1144,7 +1144,15 @@ Once the number of failures reaches half this value, additional failures are logged. The default is 6. .It Cm MaxSessions -Specifies the maximum number of open sessions permitted per network connection. +Specifies the maximum number of open shell, login or subsystem (e.g. sftp) +sessions permitted per network connection. +Multiple sessions may be established by clients that support connection +multiplexing. +Setting +.Cm MaxSessions +to 1 will effectively disable session multiplexing, whereas setting it to 0 +will prevent all shell, login and subsystem sessions while still permitting +forwarding. The default is 10. .It Cm MaxStartups Specifies the maximum number of concurrent unauthenticated connections to the |