table of contents
- bookworm 0.32.5-1
- testing 0.32.5-1.1
- unstable 0.32.5-1.1
- experimental 0.32.6-1
SSH_FILTER_BTRBK(1) | Btrbk Manual | SSH_FILTER_BTRBK(1) |
NAME¶
ssh_filter_btrbk - ssh command filter script for btrbk
SYNOPSIS¶
ssh_filter_btrbk.sh [-s|--source] [-t|--target] [-d|--delete]
[-i|--info] [--snapshot] [--send] [--receive]
[-p|--restrict-path <path>] [-l|--log] [--sudo]
DESCRIPTION¶
ssh_filter_btrbk.sh restricts SSH commands to commands used by btrbk. It examines the SSH_ORIGINAL_COMMAND environment variable (set by sshd) and executes it only if it contains commands used by btrbk.
The accepted commands are specified by the "--source", "--target", "--delete" and "--info" options.
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
OPTIONS¶
-s, --source
-t, --target
-d, --delete
-i, --info
--snapshot
--send
--receive
-p, --restrict-path <path>
-l, --log
--sudo
AVAILABILITY¶
Please refer to the btrbk project page <https://digint.ch/btrbk/> for further details.
SEE ALSO¶
AUTHOR¶
Axel Burri <axel@tty0.ch>
2022-10-23 | Btrbk 0.32.5 |