diff options
-rw-r--r-- | debian/patches/progress-linux/0026-sshd_config-MaxAuthTries.patch | 15 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/progress-linux/0026-sshd_config-MaxAuthTries.patch b/debian/patches/progress-linux/0026-sshd_config-MaxAuthTries.patch new file mode 100644 index 0000000..8414c1b --- /dev/null +++ b/debian/patches/progress-linux/0026-sshd_config-MaxAuthTries.patch @@ -0,0 +1,15 @@ +Author: Daniel Baumann <daniel.baumann@progress-linux.org> +Description: Setting MaxAuthTries in sshd_config to 3. + +diff -Naurp openssh.orig/sshd_config openssh/sshd_config +--- openssh.orig/sshd_config ++++ openssh/sshd_config +@@ -38,7 +38,7 @@ MACs umac-128-etm@openssh.com,hmac-sha2- + LoginGraceTime 1m + #PermitRootLogin prohibit-password + #StrictModes yes +-#MaxAuthTries 6 ++MaxAuthTries 3 + #MaxSessions 10 + + #PubkeyAuthentication yes diff --git a/debian/patches/series b/debian/patches/series index 7f97302..e408778 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -59,3 +59,4 @@ progress-linux/0022-sshd_config-AuthorizedKeysFile.patch progress-linux/0023-sshd_config-AllowAgentForwarding.patch progress-linux/0024-sshd_config-DebianBanner.patch progress-linux/0025-sshd_config-LoginGraceTime.patch +progress-linux/0026-sshd_config-MaxAuthTries.patch |