Xan wrote:
Setting up rsync to use keys rather than passwords should work just fine. My guess is that it's either some general confusion on which file goes where on which machine (which is quite easy to fumble!), or an issue with your script being run by a different user than you've set up your key for.
First things first: make it so that you can log in, via plain old SSH, to the other machine. That's exactly the same mechanism as rsync will use, so get that working first.
I can run the script manually, but, I, when I do so, I'm asked to enter a password. So connecting is not a problem... just getting the ssl cert to work so I don't have to enter a password...
on the web server, after running "ssh-keygen -t rsa" I'm asked for a file name, which I give as "id_rsa_rsync" then hit enter twice to accept blanks for pass phrase... then I'm asked to try to ssh in, and I'm asked for a pssword... BUT, i just now tried again, but this time I didn't change the default file name, just accepted the default, and this time it worked. Not sure why that would be, but, now my backup should run on its own.
Thanks