Hello,
I'd like to use borg-backup on openmediavault.
For this I need to enable ssh access over the internet, but I intend to use key-authentication and limit the command the user can run as described here:
https://legacy.thomas-leister.…p-fuer-serversicherungen/
Here, it is suggested to add
command="borg serve --restrict-to-path /stor/serverbackup/backups/h-sirius --append-only" ssh-rsa AAAAB3NzaC[...]to the file authorized_keys.But this file does not seem to be used by openmediavault, as per
[GUIDE] Enable SSH with Public Key Authentication (Securing remote webUI access to OMV)
So, how can I restrict what a user can do via ssh?
Regards,
Hendrik