Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] hosts.equiv



On Fri, Sep 14, 2012 at 12:02 PM, dan moylan <jdm at moylan.us> 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



BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org