mirror of
https://github.com/borgbackup/borg.git
synced 2026-05-22 01:55:52 -04:00
Apply suggested fix to docs/deployment/pull-backup.rst from Copilot Autofix
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
This commit is contained in:
parent
ac88561323
commit
4fcc2cc1d2
1 changed files with 2 additions and 2 deletions
|
|
@ -359,7 +359,7 @@ 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 --restrict-to-repo ~/repo",restrict '; cat ~/.ssh/borg-client_key.pub; } >> ~/.ssh/authorized_keys
|
||||
borgs@borg-server$ chmod 600 ~/.ssh/authorized_keys
|
||||
|
||||
|
|
@ -367,7 +367,7 @@ dedicated ssh key:
|
|||
|
||||
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.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue