فهرست منبع

Set MaxAuthTries=3 in apache2 configuration

Emmanuel Bouthenot 10 سال پیش
والد
کامیت
78a19a724a
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  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
-