summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/patches/progress-linux/0025-sshd_config-LoginGraceTime.patch15
-rw-r--r--debian/patches/series1
2 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/progress-linux/0025-sshd_config-LoginGraceTime.patch b/debian/patches/progress-linux/0025-sshd_config-LoginGraceTime.patch
new file mode 100644
index 0000000..4556085
--- /dev/null
+++ b/debian/patches/progress-linux/0025-sshd_config-LoginGraceTime.patch
@@ -0,0 +1,15 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Setting LoginGraceTime in sshd_config to 1m.
+
+diff -Naurp openssh.orig/sshd_config openssh/sshd_config
+--- openssh.orig/sshd_config
++++ openssh/sshd_config
+@@ -35,7 +35,7 @@ MACs umac-128-etm@openssh.com,hmac-sha2-
+
+ # Authentication:
+
+-#LoginGraceTime 2m
++LoginGraceTime 1m
+ #PermitRootLogin prohibit-password
+ #StrictModes yes
+ #MaxAuthTries 6
diff --git a/debian/patches/series b/debian/patches/series
index 56b7e16..7f97302 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -58,3 +58,4 @@ progress-linux/0021-sshd_config-HostKey.patch
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