summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2019-09-28 22:48:54 +0100
committerBertrand Jacquin <bertrand@jacquin.bzh>2019-09-28 22:48:54 +0100
commit7d6bd36087150382b0a84294a2d5c2668ff5b312 (patch)
tree4d45776dfc88a0a674920ea966c26aa634e8dfda
parentfactory-default/net-misc/openssh: restrict MaxAuthTries and MaxSessions (diff)
downloadportage-7d6bd36087150382b0a84294a2d5c2668ff5b312.tar.xz
factory-default/net-misc/openssh: reduce ClientAliveCountMax
-rw-r--r--factory-default/net-misc/openssh/etc/ssh/sshd_config2
1 files changed, 1 insertions, 1 deletions
diff --git a/factory-default/net-misc/openssh/etc/ssh/sshd_config b/factory-default/net-misc/openssh/etc/ssh/sshd_config
index b1b858c2..9db8ab98 100644
--- a/factory-default/net-misc/openssh/etc/ssh/sshd_config
+++ b/factory-default/net-misc/openssh/etc/ssh/sshd_config
@@ -89,7 +89,7 @@ MaxSessions 2
# Send a message through the encrypted channel to request a response
# from the client
ClientAliveInterval 15
-ClientAliveCountMax 3
+ClientAliveCountMax 2
# Do not look up the remote host name and that the resolved host name
# for the remote IP address maps back to the very same IP address