× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Re: ReadyNAS Ultra 2: rsync over ssh doesn't work

Ludovic1
Aspirant

ReadyNAS Ultra 2: rsync over ssh doesn't work

Hi all,

I have a ReadyNAS Ultra 2, running RAIDiator-x86 4.2.19. For some reason, running rsync over ssh fails with my ReadyNAS. I'm guessing something needs to be configured differently on the ReadyNAS, but I've already looked at a *a lot* of howto's and can't see what I'm missing.

SSH works fine (passwordless, and on port 22):
$ ssh ludovic@MYHOST
Last login: Wed Apr 11 17:14:24 2012 from foobar.access.telenet.be on pts/2
Linux MYHOST 2.6.37.6.RNx86_64.2.1 #1 SMP Mon Aug 15 16:19:41 PDT 2011 x86_64 GNU/Linux
Last login: Wed Apr 11 17:14:29 2012 from foobar.access.telenet.be


Using rsync to backup my laptop to the ReadyNAS also works fine, and I use it for my weekly backup:
$ rsync --delete -ahzv   /cygdrive/c/dell ludovic@MYHOST::backup/E6410/
Password:
sending incremental file list

sent 4.04K bytes received 30 bytes 1.16K bytes/sec
total size is 223.76M speedup is 54992.41


However, if I try to perform the rsync backup over SSH, it always fails:
$ rsync --delete -ahzv -e ssh  /cygdrive/c/dell ludovic@MYHOST::backup/E6410/
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at /home/lapo/package/rsync-3.0.9-1/src/rsync-3.0.9/io.c(605) [sender=3.0.9]


This is using Cygwin's rsync+ssh, but the exact same error also shows up if try to run this on my Debian machine. Any ideas as to what I'm doing wrong?

Thanks for any suggestions,
Ludovic
Message 1 of 5
Ludovic1
Aspirant

Re: rsync & ssh work fine seperately, but rsync over ssh doe

BTW I've modified the Shares.conf file, but to no avail:

MYHOST:/etc/frontview/rsync# cat Shares.conf
charset = utf-8
[backup]
path = /c/backup
comment = "Backup Share"
use chroot = true
# uid = root#commented out by ludovic
# gid = root#commented out by ludovic
uid = ludovic
gid = users
read only = false
auth users = ludovic
secrets file = /etc/frontview/rsync/secrets/backup


I've also added "RSYNC_OVER_SSH=1" as I saw this mentioned on a forum and restarted rsync, but it didn't change anything:
MYHOST:/etc/frontview/rsync# grep -i rsync /etc/default/services 
RSYNC=1
RSYNC_SUPPORT=1
RSYNC_OVER_SSH=1
Message 2 of 5
Ludovic1
Aspirant

Re: ReadyNAS Ultra 2: rsync over ssh doesn't work

Has anyone been able to get rsync over ssh working on the ReadyNAS Ultra 2? I realize it isn't supported through the Frontview interface, like it is on the Pro line, but it should be possible to get it working by modifying the right config files...

All advice is very welcome!
Message 3 of 5
StephenB
Guru

Re: ReadyNAS Ultra 2: rsync over ssh doesn't work

There is a $0.99 add-on which does this: http://readynasxtras.com/readynas-x86-a ... nabler-x86
Message 4 of 5
Ludovic1
Aspirant

Re: ReadyNAS Ultra 2: rsync over ssh doesn't work

Thanks a lot Stephen, I'll have at look at that! Still wish I could figure what's wrong with my current config 🙂
Message 5 of 5
Top Contributors
Discussion stats
  • 4 replies
  • 1042 views
  • 0 kudos
  • 2 in conversation
Announcements