From aeec29545e64cb776b2106a55a2b211eef9a6268 Mon Sep 17 00:00:00 2001 From: jhemmje Date: Mon, 15 Feb 2016 21:37:50 +0100 Subject: [PATCH] docs: Updated examples in deployment.rst, fixes #644 --- docs/deployment.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/deployment.rst b/docs/deployment.rst index 7349b9bdb..1620aace9 100644 --- a/docs/deployment.rst +++ b/docs/deployment.rst @@ -51,7 +51,7 @@ Restrictions ------------ Borg is instructed to restrict clients into their own paths: -``borg serve --restrict-path /home/backup/repos/`` +``borg serve --restrict-to-path /home/backup/repos/`` There is only one ssh key per client allowed. Keys are added for ``johndoe.clnt.local``, ``web01.srv.local`` and ``app01.srv.local``. But they will access the backup under only one UNIX user account as: @@ -61,7 +61,7 @@ forced command and restrictions applied as shown below: :: command="cd /home/backup/repos/; - borg serve --restrict-path /home/backup/repos/", + borg serve --restrict-to-path /home/backup/repos/", no-port-forwarding,no-X11-forwarding,no-pty, no-agent-forwarding,no-user-rc