Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/deployment/pull-backup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ completely in every aspect from such a backup.
.. warning::

The chroot method was chosen to get the right user and group name-id
mappings, assuming they only come from files (/etc/passwd and group).
mappings, assuming they only come from files (/etc/passwd and /etc/group).
This assumption might be wrong, e.g. if users/groups also come from
ldap or other providers.
Thus, it might be better to use ``--numeric-ids`` and not archive any
Expand Down Expand Up @@ -359,15 +359,15 @@ dedicated ssh key:
::

borgs@borg-server$ install -m 700 -d ~/.ssh/
borgs@borg-server$ ssh-keygen -N '' -t rsa -f ~/.ssh/borg-client_key
borgs@borg-server$ ssh-keygen -N '' -t rsa -f ~/.ssh/borg-client_key
borgs@borg-server$ { echo -n 'command="borg serve --append-only --restrict-to-repo ~/repo",restrict '; cat ~/.ssh/borg-client_key.pub; } >> ~/.ssh/authorized_keys
borgs@borg-server$ chmod 600 ~/.ssh/authorized_keys

``install -m 700 -d ~/.ssh/``

Create directory ~/.ssh with correct permissions if it does not exist yet.

``ssh-keygen -N '' -t rsa -f ~/.ssh/borg-client_key``
``ssh-keygen -N '' -t rsa -f ~/.ssh/borg-client_key``

Create an ssh key dedicated to communication with borg-client.

Expand Down
Loading