summaryrefslogtreecommitdiffstats
path: root/docs/usage/serve.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/usage/serve.rst')
-rw-r--r--docs/usage/serve.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/usage/serve.rst b/docs/usage/serve.rst
index 96a535888..9008a143a 100644
--- a/docs/usage/serve.rst
+++ b/docs/usage/serve.rst
@@ -44,6 +44,8 @@ locations like ``/etc/environment`` or in the forced command itself (example bel
Details about sshd usage: `sshd(8) <https://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man8/sshd.8>`_
+.. _ssh_configuration:
+
SSH Configuration
~~~~~~~~~~~~~~~~~
``borg serve``'s pipes (``stdin``/``stdout``/``stderr``) are connected to the ``sshd`` process on the server side. In the event that the SSH connection between ``borg serve`` and the client is disconnected or stuck abnormally (for example, due to a network outage), it can take a long time for ``sshd`` to notice the client is disconnected. In the meantime, ``sshd`` continues running, and as a result so does the ``borg serve`` process holding the lock on the repository. This can cause subsequent ``borg`` operations on the remote repository to fail with the error: ``Failed to create/acquire the lock``.