NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Bdko34u6cP9st7o
Jul 17, 2012Aspirant
Rsync over SSH on consumer-grade ReadyNAS
Hi all,
Has anyone used the RSync over SSH Enabler (x86) http://readynasxtras.com/readynas-x86-add-ons/rsync-over-ssh-enabler-x86? I'm not at all put off by the cost (a buck), but I'd like to be confident that it only turns on SSH and nothing else before I install it...
Any real-world usage experience would be greatly appreciated. (And yes, I know that I can do this all with root access and a chron job. I'll do that if needed, but if I can, for a buck, add SSH support for my ReadyNAS to ReadyNAS rsync offsite replications, I'd happily spend it.......as long as it is secure.)
Many thanks,
John.
ReadyNAS NVX
ReadyNAS Ultra 6+
Mac OSX 10.7.4
Has anyone used the RSync over SSH Enabler (x86) http://readynasxtras.com/readynas-x86-add-ons/rsync-over-ssh-enabler-x86? I'm not at all put off by the cost (a buck), but I'd like to be confident that it only turns on SSH and nothing else before I install it...
Any real-world usage experience would be greatly appreciated. (And yes, I know that I can do this all with root access and a chron job. I'll do that if needed, but if I can, for a buck, add SSH support for my ReadyNAS to ReadyNAS rsync offsite replications, I'd happily spend it.......as long as it is secure.)
Many thanks,
John.
ReadyNAS NVX
ReadyNAS Ultra 6+
Mac OSX 10.7.4
11 Replies
Replies have been turned off for this discussion
- mdgm-ntgrNETGEAR Employee RetiredI don't have a copy of this add-on but that's all it would do. It simply enables Rsync over SSH. You can inspect the source of the add-on if you really want to. There's a command beginning with "tail" that you can use. Details are on the forum.
- Bdko34u6cP9st7oAspirantThanks!
- blummanAspirantDid you ever buy this addon and did it work as expected?
I'm interested in this as well to get e-mail alerts etc via frontview. - Bdko34u6cP9st7oAspirantI've not gotten this yet. If I do, I'll reply to this thread with my experience.
- blummanAspirantBdko34u6cP9st7oC,
I bought the add-on and I would say that it's genuine. I'm having a little bit of an issue though but I'm sure it's just me. I can't seem to get the rsa keys installed properly so that the add-on recognize it. I get the following error messages:
Permission denied (publickey,password).
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(605) [sender=3.0.9]
XXX rsync due to missing or improperly installed SSH key.
Needless to say but doing rsync from the console works without a problem so I must be doing something wrong. :)
Once I have figured it out I will let you know. - blummanAspirantAlright, it took me a while to figure it out but I now have it up and running. It was worth $0.99 USD if you ask me. :)
- Bdko34u6cP9st7oAspirantThanks blumman! I purchased the add-on as well and I've so far not gotten it to work. But an added wrinkle, which I suspect is the cause, is that I need to use a port other than the default port 22 for SSH. My guess is the code that enables SSH defaults to port 22 and there's no override. (I've updated the sshd_config file to specify the SSH port and I can therefore access the NAS via SSH. But rsync over SSH isn't working when activated via Frontview.)
Do anyone have any ideas if/how I can update the SSH port for this? I've looked for a way to ask for support for the add-on on readynasxtras.com but there doesn't appear to be anywhere to do so... - ub1kAspirantHi i have similar problem.
I try configure a yinter backup (open source project), but i can't set a ssh server on ReadyNAS Ultra 4 Plus, RAIDiator 4.2.19.
I have install Enable Root SSH Access (http://www.readynas.com/?p=4203) : Successfully enabled root SSH access.
Rsync is enabled in protocol on ReadyNas.
But when yinter server (on my PC) connect to ReadyNas a looking a msg:
Connecting to 192.168.1.100
Error retreving directories (code: 12)
Permission dened (publickey .password).
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
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) [Receiver=3.0.9]
Connection to 192.168.1.100 failed, attempting key upload
Key upload from 192.168.1.100 failed
Connectinf to 192.168.1.100
Error retrieving directories (cde 250)
Permission dened (publickey .password).
What is wrong?
Sorry for my english. - blummanAspirant
Bdko34u6cP9st7oC wrote: Thanks blumman! I purchased the add-on as well and I've so far not gotten it to work. But an added wrinkle, which I suspect is the cause, is that I need to use a port other than the default port 22 for SSH. My guess is the code that enables SSH defaults to port 22 and there's no override. (I've updated the sshd_config file to specify the SSH port and I can therefore access the NAS via SSH. But rsync over SSH isn't working when activated via Frontview.)
Do anyone have any ideas if/how I can update the SSH port for this? I've looked for a way to ask for support for the add-on on readynasxtras.com but there doesn't appear to be anywhere to do so...
Let me just see if I understand you.
You cannot use port 22 for SSH right? So you have defined a different port for SSH and now you have problems with Rsync over SSH as the addon defaults to port 22. Am I right? Are you admin of the router firewall? Can you port-forward in that case? I.e use whatever port you want the NAS to be reached at externally e.g. 2222 and then forward it to port 22 internally. Is this something you can do? If not then you will probably have to go in to the Rsync config and spcecify the same port as you have specified for SSH. I could be wrong though as I'm no expert on this. It's just whats comes to my mind and what seems logical. :) - blummanAspirant
ub1k wrote: Hi i have similar problem.
I try configure a yinter backup (open source project), but i can't set a ssh server on ReadyNAS Ultra 4 Plus, RAIDiator 4.2.19.
I have install Enable Root SSH Access (http://www.readynas.com/?p=4203) : Successfully enabled root SSH access.
Rsync is enabled in protocol on ReadyNas.
But when yinter server (on my PC) connect to ReadyNas a looking a msg:
Connecting to 192.168.1.100
Error retreving directories (code: 12)
Permission dened (publickey .password).
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
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) [Receiver=3.0.9]
Connection to 192.168.1.100 failed, attempting key upload
Key upload from 192.168.1.100 failed
Connectinf to 192.168.1.100
Error retrieving directories (cde 250)
Permission dened (publickey .password).
What is wrong?
Sorry for my english.
Hi ub1k,
I have never tried rsync to a Windows machine so I don't know how that works. Are you trying to do rsync over SSH to your Windows machine? If that is the case you probably have to buy the Rsync over SSH plugin to get this option available. IF you are trying to do normal Rsync it should work and you probably have configured the backup incorrectly.
I know that there's a document linked in the forum somewhere that describes how to setup Rsync. This guide makes the destination server "pull" the backup from the source server. I have on the other hand configured my backup so that the source machine sends the backup to the destination machine. Make sure you have added the correct ssh-rsa key in the authorized_host file. I had mixed it up so the destination could SSH to the source but not the other way around which obviously made my backups fail.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!