summaryrefslogtreecommitdiffstats
path: root/debian/patches/progress-linux/0026-sshd_config-MaxAuthTries.patch
blob: 8414c1bd6c8bef447f99283a4304eb0750f99d77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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