- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Re: RSYNC and SSH
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
RSYNC and SSH
I've got my RN214 happily backing up to a remote RN204 using RSYNC over SSH thanks to the response at https://community.netgear.com/t5/Using-your-ReadyNAS/How-to-use-Rsync-with-SSH-over-a-pair-of-ReadyN... but I noticed something on the remote RN204 that concerned me. Looking at the attached screenshot, it looks as if someone on the remote network can connect to this share via RSYNC without a password. Am I interpreting this screen correctly? The remote router doesn't forward RSYNC to this router so I think at least the remote RN204 is not accessible via RSYNC from the internet.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: RSYNC and SSH
Thinking about this some more, I'm not sure whether (when using RSYNC over SSH) the share needs to have RSYNC set up or whether it actually uses a user account. It's fair to say I'm a bit confused about how RSYNC over SSH actually works...
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: RSYNC and SSH
Well you can easily create a test share at each end and configure a Rsync over SSH backup job and see what happens when you try to run it with various settings.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: RSYNC and SSH
@geojay wrote:
Looking at the attached screenshot, it looks as if someone on the remote network can connect to this share via RSYNC without a password. Am I interpreting this screen correctly? The remote router doesn't forward RSYNC to this router so I think at least the remote RN204 is not accessible via RSYNC from the internet.
You've answered your own question here. Your local router doesn't forward the rsync port, so no one on the remote network (or via the internet) can connect with rsync, unless the router is compromised.
SSH is forwarded, but the certificate provides protection there.
@geojay wrote:
Thinking about this some more, I'm not sure whether (when using RSYNC over SSH) the share needs to have RSYNC set up or whether it actually uses a user account. It's fair to say I'm a bit confused about how RSYNC over SSH actually works...
RSYNC definitely needs to be enabled on the remote system (the one that is not running the backup job).
SSH is using the user account. That's described in the KB article in the section following "When connecting to the ReadyNAS from a remote host, we recommend importing a public key to a user account "