On Fri, Sep 14, 2012 at 12:02 PM, dan moylan <[email protected]> wrote:

>
>
> > When you run rsync, pass it "-e ssh -i /home/jdm/.ssh/rsync.key"
> > You should have a fairly safe passwordless rsync.
>
>   rsync -e ssh -i /home/moylan/.ssh/rsync.key --archive --delete
> --compress /home/moylan/bac/ 192.168.0.103:bac
>
> still asked for a password.  any idea what i might have
> missed (or done wrong)?
>

1. Try running ssh with "-v" option and have it tell you why it failed to
use other authentication methods.

REAL ANSWER***  2. -e takes a single argument.   I believe you have to
quote the whole thing i.e.

rsync -e "ssh -i ...." ....

Personally, I usually write a trivial shell script to encompass all of the
ssh arguments that I want and invoke it as:

rsync -e special-ssh-script-for-this-backup

Bill Bogstad
_______________________________________________
Discuss mailing list
[email protected]
http://lists.blu.org/mailman/listinfo/discuss

Reply via email to