This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Not sure if I have an rsync problem or ssh problem

Synchronize files & directories to/from XigmaNAS with minimal data transfer.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
robothunter
NewUser
NewUser
Posts: 3
Joined: 10 Sep 2016 01:01
Status: Offline

Not sure if I have an rsync problem or ssh problem

Post by robothunter »

I'm trying to use rsync to backup my Synology NAS to my NAS4Free box offsite. I want to begin the process locally because it's so much data. I have everything set up on my NAS4Free box. The problem is setting up rsync on my Synology. More specifically the SSH encryption. If I choose transfer encryption off it works. If I choose transfer encryption on I get an error message "Failed to establish the SSH connection. Please check...." I can log into my NAS4Free box using Putty so I know SSH is working. When I created my user name I set the Shell to sh, I made the primary group wheel and then I added admin and sshd groups for good measure. Any ideas?

Jack Foobar
experienced User
experienced User
Posts: 107
Joined: 07 Jul 2015 01:24
Status: Offline

Re: Not sure if I have an rsync problem or ssh problem

Post by Jack Foobar »

Sounds like a Synology issue, yes. They have 5 years of full tech support. Why not ask them? I have no idea what packages they have on that thing, or even what OS it is. It sounds like they just don't have the package installed.

robothunter
NewUser
NewUser
Posts: 3
Joined: 10 Sep 2016 01:01
Status: Offline

Re: Not sure if I have an rsync problem or ssh problem

Post by robothunter »

After trying to use Syncthing as an alternative I went back to trying to get rsync to work. I kept tinkering with it and when I set the user to root it started working. I'm happy that rsync is working with encryption but using root to do it just feels wrong. I will continue to tinker.

robothunter
NewUser
NewUser
Posts: 3
Joined: 10 Sep 2016 01:01
Status: Offline

Re: Not sure if I have an rsync problem or ssh problem

Post by robothunter »

I finally found a solution to my problem on the Synology forums.
https://forum.synology.com/enu/viewtopic.php?t=35216
Once I had that rsyncd.conf file in the right place (Step 7) I was good to go. I deviated from his instructions at step 8 because of Synology's new Hyper Backup system. I chose "Remote Data Copy" instead of "Remote rsync Server" because I wanted usable files on the backup server instead of compressed file chunks. Thanks for the suggestion Jack.

Post Reply

Return to “RSYNC”