On Mon, 19 Jun 2023 10:03:49 daniel barrett wrote:
>On June 18, 2023, dan moylan wrote:
>> moylan cmd[448] ssh -p22 -i /home/moylan/.ssh/rsync.key moylan@aldeberan
>> works without asking for a password.
>>
>> moylan cmd[449] rsync -r -e ssh -i /home/moylan/.ssh/rsync.key
>> /home/moylan/foo moylan@aldeberan:
>> asks for a password.
> I wonder if, in your rsync command, the -i option is being passed to
> rsync rather than ssh, so rsync.key isn't being used.
> Instead of passing SSH options on the rsync command line, create a
> configuration for your remote host by adding this to ~/.ssh/config:
> Host funky
> Hostname albeberan
> User moylan
> IdentityFile ~/.ssh/rsync.key
> IdentitiesOnly yes
> Then run:
> $ rsync -r -e ssh /home/moylan/foo funky:
> See if that helps.
not sure if i quite understand. the remote host to which
i'm trying to send the file is aldeberan. i would think the
command should be:
$ rsync -r -e ssh /home/moylan/foo aldeberan:
who is funky?
tia,
ole dan
j. daniel moylan
84 harvard ave
brookline, ma 02446-6202
617-777-0207 (cel)
j...@moylan.us
www.moylan.us
[BLM]
_______________________________________________
Discuss mailing list
Discuss@lists.blu.org
http://lists.blu.org/mailman/listinfo/discuss