As part of my backup process, I’d like to be able to run rsync over ssh connections inward and outward from my DroboFS.
I’ve installed dropbear and rsync, but I’m left with two problems.
For incoming rsync over ssh transfers, the rsync executable needs to be in the path for incoming ssh connections. By default this isn’t true, and adding rsync to the path via .profile doesn’t work since .profile is only read for interactive shells.
I’ve worked around this by adding a symlink from /bin to /mnt/DroboFS/Shares/DroboApps/rsync/rsync, but it seems like it would be better to solve this in the rsync DroboApps package. Is this possible?
As far as I can figure out, the DroboApps version of DropBear doesn’t include any outgoing SSH client. Is this true? Why not?
PS: For bonus points, what’s the best way to disable the rsync daemon? I have no need of it, only the rsync command line program.