diff --git a/README.md b/README.md index 4106d52..6cb9a6e 100644 --- a/README.md +++ b/README.md @@ -551,14 +551,14 @@ to run it whenever the key is used for authentication. Example "/root/.ssh/authorized_keys": # example backup source (also allowing deletion of old snapshots) - command="/backup/scripts/ssh_filter_btrbk.sh -l --source --delete" ... + command="/backup/scripts/ssh_filter_btrbk.sh -l --source --delete",restrict ... # example backup target (also allowing deletion of old snapshots) - command="/backup/scripts/ssh_filter_btrbk.sh -l --target --delete" ... + command="/backup/scripts/ssh_filter_btrbk.sh -l --target --delete",restrict ... # example fetch-only backup source (snapshot_preserve_min=all, snapshot_create=no), # restricted to subvolumes within /home or /data - command="/backup/scripts/ssh_filter_btrbk.sh -l --send -p /home -p /data" ... + command="/backup/scripts/ssh_filter_btrbk.sh -l --send -p /home -p /data",restrict ... [ssh_filter_btrbk(1)]: https://digint.ch/btrbk/doc/ssh_filter_btrbk.1.html diff --git a/doc/ssh_filter_btrbk.1.asciidoc b/doc/ssh_filter_btrbk.1.asciidoc index 3b851e2..8edf629 100644 --- a/doc/ssh_filter_btrbk.1.asciidoc +++ b/doc/ssh_filter_btrbk.1.asciidoc @@ -45,7 +45,7 @@ The following commands are always allowed: Example line in /root/.ssh/authorized_keys on a backup target host: - command="ssh_filter_btrbk.sh --target --delete --restrict-path /mnt/btr_backup" ssh-rsa AAAAB3NzaC1...hwumXFRQBL btrbk@mydomain.com + command="ssh_filter_btrbk.sh --target --delete --restrict-path /mnt/btr_backup",restrict ssh-rsa AAAAB3NzaC1...hwumXFRQBL btrbk@mydomain.com OPTIONS