Recent Entries:

Favorite Links

ReadyNas NV+ and rsync

Tuesday, March 9th, 2010

Setting up an account to backup a windows machine to my Nas I discovered an issue with the rsync setup.
I first enabled the rsync protocol in the readynas admin interface.
I then added a new user account and when I was testing I got the following error:

rsync -av myidr/ newuser@mynas:
newuser@mynas’s password:
Connection closed by 192.168.1.100
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at /SourceCache/rsync/rsync-35.2/rsync/io.c(452) [sender=2.6.9]

I tracked down the problem to not having a ssh key on the nas for the new user:

su - newuser
Password:
newuser@mynas:~$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/c/home/newuser/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in .
Your public key has been saved in .pub.
The key fingerprint is:
c1:25:12:5b:21:18:31:23:73:58:45:99:2c:0b:0e:7c newuser@nasone

Before that I had to edit /etc/passwd to enable interactive login for newuser as by default users cannot login.

Tags: , , | Posted in General

One Response to “ReadyNas NV+ and rsync”

  1. kirm Says:

    You saved my bacon man. Thanks! I wondered too why rsync wouldn’t stick. I tried what you said and WHAMMO I was backing up.

    I like how on Frontview in the “Add a new backup job” tab if you select Rsync Server for your backup source and start to type the IP address, the apply button stays grayed out. Lovely! You literally cannot add an Rsync backup job. What junk this thing is. I understand that when Infrant own the company things were different. Never again with Netgear.

Leave a Reply