Index: modules/ssh/templates/sshd_config.erb |
=================================================================== |
--- a/modules/ssh/templates/sshd_config.erb |
+++ b/modules/ssh/templates/sshd_config.erb |
@@ -70,7 +70,9 @@ |
PermitUserEnvironment yes |
#UseLogin no |
-#MaxStartups 10:30:60 |
+MaxSessions <%= @max_sessions %> |
+MaxStartups <%= @max_startups %> |
+ |
#Banner /etc/issue.net |
# Allow client to pass locale environment variables |
@@ -89,4 +91,3 @@ |
# and ChallengeResponseAuthentication to 'no'. |
UsePAM yes |
-<%= custom_configuration %> |