Posts

Showing posts from March, 2010

ReadyNas NV+ and rsync

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