NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
TonV
May 27, 2014Aspirant
Rsync over SSH
Hi, I would like to backup folders, over the internet, from my RN104 to an RN102 elsewhere (for disaster protection).
Rsync seems like the way to do this, it makes a nice copy of the source folder, but is not safe to use over the internet unless you use an SSH tunnel.
Now I got the part where I can download an SSH key in the 'advanced' tab of a backup job with RSYNC over SSH, however, where do I put this on the 'other' ReadyNAS?
I was hoping for a 'upload SSH...' button somewhere...
I found something about a .ssh folder, but is that the way to go, using putty?
Any suggestion is appreciated!
Ton
Rsync seems like the way to do this, it makes a nice copy of the source folder, but is not safe to use over the internet unless you use an SSH tunnel.
Now I got the part where I can download an SSH key in the 'advanced' tab of a backup job with RSYNC over SSH, however, where do I put this on the 'other' ReadyNAS?
I was hoping for a 'upload SSH...' button somewhere...
I found something about a .ssh folder, but is that the way to go, using putty?
Any suggestion is appreciated!
Ton
2 Replies
Replies have been turned off for this discussion
- mdgm-ntgrNETGEAR Employee RetiredThere isn't a button for uploading a SSH key (it's something I'd like to see added), so using SSH would be one way to do it.
Another that might work is a config backup though that might not set the permissions correctly. - TonVAspirantSo SSH it is...
I've managed to enter the public key of my local system into the 'authorized_keys' file (in the ~/.ssh folder) on the opposite system.
I've also modified the /etc/ssh/sshd_config file, removed the # before AuthorizedKeyFile, it now points to the key file mentioned above.
But no luck so far...
A regular rsync works, but when I set it to use SSH it fails (unable to connect to host).
(and at the moment I still have them sitting next to eachother on the same network)
Is there anything else I need to change?
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!