Browse Source

Set MaxAuthTries=3 in apache2 configuration

Emmanuel Bouthenot 10 years ago
parent
commit
78a19a724a
1 changed files with 3 additions and 1 deletions
  1. 3 1
      roles/common/templates/ssh/sshd_config.j2

+ 3 - 1
roles/common/templates/ssh/sshd_config.j2

@@ -108,6 +108,8 @@ Subsystem sftp /usr/lib/openssh/sftp-server
 # and ChallengeResponseAuthentication to 'no'.
 UsePAM yes
 
+# Maximum number of authentication attempts permitted per connection
+MaxAuthTries 3
+
 # Define users groups allowed to login
 AllowGroups root operator ssh
-