I am looking for some help setting up SSH from my OMV server to a remote raspberry pi to use borgbackup. Currently I am able to reach the remote raspberry pi via VPN (wireguard) and can ssh in via the OMV root user (used root public keys).
I would like to automate remote backups via borgbackup (following this guide [How-To] Make backups with Borg using borgbackup plugin) and I have setup ssh via the OMV root user to the pi.
What I am not sure of is if this poses a security issue and if I should be SSH'ing with one of the normal users I have setup on the OMV server? If so, how do you generate keys for a normal SSH user on OMV? Do I need to create a /home directory for the user to do so?
Thank you in advance for any and all help.