summaryrefslogtreecommitdiffstats
path: root/debian/patches/progress-linux/0025-sshd_config-LoginGraceTime.patch
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 /debian/patches/progress-linux/0025-sshd_config-LoginGraceTime.patch
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>
Diffstat (limited to 'debian/patches/progress-linux/0025-sshd_config-LoginGraceTime.patch')
-rw-r--r--debian/patches/progress-linux/0025-sshd_config-LoginGraceTime.patch15
1 files changed, 15 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