diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-03-28 14:03:45 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-04-07 00:08:56 +0200 |
commit | 808b9e850491c7b1d867a5f1f4d5ee6f61f345d4 (patch) | |
tree | 0eede7aa683739bb11dcdf1545fc8f894307e371 /doc/guix.texi | |
parent | 22ab90146665ad4e624421f297dd284f00ebe6ce (diff) |
services: openssh: Start as an inetd service.
* gnu/services/ssh.scm (openssh-shepherd-service): Use
'make-inetd-constructor' when it is defined.
(<openssh-configuration>)[max-connections]: New field.
* gnu/tests/ssh.scm (run-ssh-test)["sshd PID"]: Adjust to cope with
PID-FILE being #f.
* gnu/tests/ssh.scm (%test-openssh): Pass #f as the 'pid-file'
argument.
* doc/guix.texi (Networking Services): Document 'max-connections'.
Diffstat (limited to 'doc/guix.texi')
-rw-r--r-- | doc/guix.texi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 54793c9648..59db00e581 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -18962,6 +18962,12 @@ Name of the file where @command{sshd} writes its PID. @item @code{port-number} (default: @code{22}) TCP port on which @command{sshd} listens for incoming connections. +@item @code{max-connections} (default: @code{200}) +Hard limit on the maximum number of simultaneous client connections, +enforced by the inetd-style Shepherd service (@pxref{Service De- and +Constructors, @code{make-inetd-constructor},, shepherd, The GNU Shepherd +Manual}). + @item @code{permit-root-login} (default: @code{#f}) This field determines whether and when to allow logins as root. If @code{#f}, root logins are disallowed; if @code{#t}, they are allowed. |