From 521217550db23d38feade1b0ea3ab11b6b9361a4 Mon Sep 17 00:00:00 2001 From: Milkey Mouse Date: Thu, 9 Mar 2017 12:31:04 -0800 Subject: [PATCH] Address SSH batch mode in docs (fixes #2202) (#2270) --- docs/usage.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/usage.rst b/docs/usage.rst index f2f3585f6..365e5f790 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -986,3 +986,11 @@ for e.g. regular pruning. Further protections can be implemented, but are outside of Borgs scope. For example, file system snapshots or wrapping ``borg serve`` to set special permissions or ACLs on new data files. + +SSH batch mode +~~~~~~~~~~~~~~ + +When running |project_name| using an automated script, ``ssh`` might still ask for a password, +even if there is an SSH key for the target server. Use this to make scripts more robust:: + + export BORG_RSH='ssh -oBatchMode=yes'