summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 01:35:54 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 01:35:54 +0000
commit6db4b6c8feabda3cc2beea0b7cb9c9747f72190f (patch)
treec3d863579c282be1ec2047471db984b3b47e868c
parentSetting DebianBanner in sshd_config to no. (diff)
downloadopenssh-6db4b6c8feabda3cc2beea0b7cb9c9747f72190f.tar.xz
openssh-6db4b6c8feabda3cc2beea0b7cb9c9747f72190f.zip
Setting LoginGraceTime in sshd_config to 1m.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-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