I’m having some issues setting up a remote rsync job correctly. I’ve searched the forum (for example:http://forum.openmediavault.or…-public-keys-do-not-work/) and the web, but still I wasn’t able yet to configure my setup as I want it (because I would like rsync to run over a ssh-connection).
What I’ve got working right now is:
My first Openmediavault installation, let’s call it “omv1” runs version 2.2.13 . This is my main server with one share, let’s call it “omv1_share1”, which I want to have backed up remotely every night.
My remote-Openmediavault installation, let’s call it “omv2”, runs version 3.0.59.
At the moment, I’ve configured omv1 to have running a rsync server module which shares the omv1_share1 folder. I’ve configured a user+password access in this share.
Every night, omv2 runs a rsync job and pulls the omv1_share1 (using the configured user+pw configured on the omv1 rsync-module) to his local disk. This works fine!
But – if I’ve understood it correctly – I have to switch from the user+password authentication to public Key authentication (which is selectable inside the rsync windows of omv2) to have this rsync- Job using a ssh connection, is this right?
Is this possible with this setup? Or is it necessary that my omv1-machine also runs Openmediavault 3.XX?
It’s unfortunately not clear for me right now how I would have to setup the public key authentication :/… can this be done using the web gui or do I have to switch to terminal to configure the authorized_keys file?
If someone could give me a tip or a useful link where everything is already explained I would be very grateful
Thanks in advance!