浏览代码

Address SSH batch mode in docs (fixes #2202) (#2270)

Milkey Mouse 8 年之前
父节点
当前提交
521217550d
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      docs/usage.rst

+ 8 - 0
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,
 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
 file system snapshots or wrapping ``borg serve`` to set special permissions or ACLs on
 new data files.
 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'