From 6c216327e1dd81d3adfa60f278b4deebeb55f5b0 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 30 Mar 2013 01:19:32 +0100 Subject: [PATCH] sshd_config: Add (disabled) MaxSessions setting. --- sshd_config | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sshd_config b/sshd_config index 4f18dc0..8c73565 100644 --- a/sshd_config +++ b/sshd_config @@ -48,6 +48,12 @@ PermitRootLogin without-password # Be strict when checking user file permissions (default). StrictModes yes +# Allow more sessions per network connection (e.g. from ControlMaster/-M). +# When not enough sessions are available this message is sent by ssh: +# "mux_client_request_session: session request failed: Session open refused by +# peer". Not necessary on all servers, therefore deactivated here. +#MaxSessions 30 + # Don't accept any environment variables from the client (default). AcceptEnv # Don't use ~/.ssh/environment and environment= options in -- 2.44.1