Hi - I decided to have a play around with running ZFS replication as a non root user. I created a new replication user and attempted the replication but it fails.
I can't see how the non root user option will ever work as the only user with access to the replication private key is root - as shown below in the output of the replication command:
Aug 23 20:31:04 freenas autorepl.py: [common.pipesubr:57] Popen()ing: /usr/bin/ssh -i /data/ssh/replication -o BatchMode=yes -o StrictHostKeyChecking=yes -q -l replication -p 22 freenas-backup.harland "zfs list -Hr -o name -t snapshot -d 1 vol0/replication/photos | tail -n 1 | cut -d@ -f2"
Has anyone managed to get non root ZFS replication to work ?
I can't see how the non root user option will ever work as the only user with access to the replication private key is root - as shown below in the output of the replication command:
Aug 23 20:31:04 freenas autorepl.py: [common.pipesubr:57] Popen()ing: /usr/bin/ssh -i /data/ssh/replication -o BatchMode=yes -o StrictHostKeyChecking=yes -q -l replication -p 22 freenas-backup.harland "zfs list -Hr -o name -t snapshot -d 1 vol0/replication/photos | tail -n 1 | cut -d@ -f2"
Has anyone managed to get non root ZFS replication to work ?