rsnapshothelper/README.md

12 lines
461 B
Markdown
Raw Normal View History

2021-03-09 21:21:44 +01:00
# rsnapshothelper
combination of:
- https://serverfault.com/questions/749474/ssh-authorized-keys-command-option-multiple-commands
- https://www.virtono.com/community/tutorial-how-to/restrict-executable-ssh-commands-with-authorized-keys/
add your public key on target server like: command="/root/rsnapshothelper.sh" ...........
Can be used for more than just rsnapshot.
Could be improved by reading a ini, yaml, use regex, etc. Feel free!
Have fun