summaryrefslogtreecommitdiff
path: root/factory-default
diff options
context:
space:
mode:
Diffstat (limited to 'factory-default')
-rw-r--r--factory-default/net-misc/openssh/etc/ssh/sshd_config7
1 files changed, 7 insertions, 0 deletions
diff --git a/factory-default/net-misc/openssh/etc/ssh/sshd_config b/factory-default/net-misc/openssh/etc/ssh/sshd_config
index b1b8f373..b1b858c2 100644
--- a/factory-default/net-misc/openssh/etc/ssh/sshd_config
+++ b/factory-default/net-misc/openssh/etc/ssh/sshd_config
@@ -79,6 +79,13 @@ PermitUserEnvironment no
# Send TCP keepalive messages to the other side
TCPKeepAlive yes
+# Maximum number of authentication attempts permitted per connection
+MaxAuthTries 3
+
+# Maximum number of open shell, login or subsystem (e.g. sftp) sessions
+# permitted per network connection
+MaxSessions 2
+
# Send a message through the encrypted channel to request a response
# from the client
ClientAliveInterval 15