Solved rrsync fails to work

Hello,

I am trying to setup rrsync to backup some directories on the freebsdFreeBSD server. I was hoping to use rrsync on the lines described here. The rsync server is running in a jail.

I compiled rsync from ports and copied /usr/ports/net/rsync/work/rsync-3.1.1/support/rrsync to /usr/local/bin and made it executable.

The error I get on the client i:
Code:
rsync -e "ssh -i /home/xx/.ssh/id_ed25519"  -avv /home/xx/tmp/shared/* med@192.168.1.7:
opening connection using: ssh -i /home/xx/.ssh/id_ed25519 -l med 192.168.1.7 rsync --server -vvlogDtpre.iLsfx . .  (11 args)
exec(rsync --server -vvlogDtpre.iLsfx . .) failed: 0 No such file or directory at /usr/local/bin/rrsync line 209.
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(226) [sender=3.1.1]

On the server side the config is defined as:
Code:
#cat /home/med/.ssh/authorized_keys
command="rrsync  /tmp",no-agent-forwarding,no-port-forwarding,no-pty,no-user-rc,no-X11-forwarding ssh-rsa my-public-key

I also tried to use the the same config between two Linux systems and it worked. Any reason why it is failing in freebsdFreeBSD?

Thanks
 
Back
Top