On a CentOS 6.4 running linux server, I am trying to rsync a folder with strato hidrive (http://www.strato-hosting.co.uk/online-storage-hidrive/advanced/). The server is running rsync version 3.0.9.
What I have done to set up the rsync to the hidrive:
- Generated a rsa key that needs to be uploaded to strato using the following command:
ssh-keygen -f /root/.ssh/id_rsa -t rsa -N ''
- Saved the id_rsa.pub file to my local machine so that I could upload it in the strato hidrive controlpanel, when I upload it, it does say that it recognizes that it is a rsa key.
- I've done a test to see if it works using the following command:
/opt/rsync/bin/rsync -av -e 'ssh' --rsh="ssh -p22" /home/user/example/ [email protected]:/users/mystratousername/
Normally it would just rsync, but now it asks for a password (while I didn't use a passphrase). I do have this working on 5 other machine's but I set that up like half a year ago.