summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 01:36:05 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 01:36:05 +0000
commit996d1b542b868092797b32b5571a78c86ba8923c (patch)
tree754de4da1804b45b0c6fe399ef282cdf0fca630e /debian
parentSetting LoginGraceTime in sshd_config to 1m. (diff)
downloadopenssh-996d1b542b868092797b32b5571a78c86ba8923c.tar.xz
openssh-996d1b542b868092797b32b5571a78c86ba8923c.zip
Setting MaxAuthTries in sshd_config to 3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/patches/progress-linux/0026-sshd_config-MaxAuthTries.patch15
-rw-r--r--debian/patches/series1
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