Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/ssh/templates/sshd_config.erb

Issue 5766400081657856: #760 - Make our ssh configuration used automatically for all servers (Closed)
Patch Set: #760 - Make our ssh configuration used automatically for all servers Created July 15, 2014, 12:59 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « modules/ssh/manifests/init.pp ('k') | modules/statsclient/manifests/init.pp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 %>
« no previous file with comments | « modules/ssh/manifests/init.pp ('k') | modules/statsclient/manifests/init.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld