From: Simon Ruderich Date: Sat, 30 Mar 2013 00:19:32 +0000 (+0100) Subject: sshd_config: Add (disabled) MaxSessions setting. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=6c216327e1dd81d3adfa60f278b4deebeb55f5b0;p=config%2Fdotfiles.git sshd_config: Add (disabled) MaxSessions setting. --- 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