Kaynağa Gözat

Set MaxAuthTries=3 in apache2 configuration

Emmanuel Bouthenot 10 yıl önce
ebeveyn
işleme
78a19a724a
1 değiştirilmiş dosya ile 3 ekleme ve 1 silme
  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
-