Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Re: ReadyNAS Ultra 2: rsync over ssh doesn't work
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-04-11
08:23 AM
2012-04-11
08:23 AM
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):
Using rsync to backup my laptop to the ReadyNAS also works fine, and I use it for my weekly backup:
However, if I try to perform the rsync backup over SSH, it always fails:
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
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
Labels:
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-04-11
08:26 AM
2012-04-11
08:26 AM
Re: rsync & ssh work fine seperately, but rsync over ssh doe
BTW I've modified the Shares.conf file, but to no avail:
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# 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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-09-02
09:54 AM
2012-09-02
09:54 AM
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!
All advice is very welcome!
Message 3 of 5
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-09-02
03:45 PM
2012-09-02
03:45 PM
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-09-03
01:05 AM
2012-09-03
01:05 AM
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