[Discuss] rsync issue

dan moylan jdm at moylan.us
Fri Nov 4 16:22:56 EDT 2022


dan moylan writes:
> daniel barrett writes:
>> On November 2, 2022, dan moylan wrote:
>>> i have two home computers: aldeberan and alphacent, as well
>>> as a remote website moylan.us, aka 50.87.218.82.  some four
>>> years ago (almost) dan ritter gave me instructions for
>>> setting up passwordless rsync amongst the lot.  it's worked
>>> like a charm ever since, except now.  alphacent is a new
>>> thinkpad T470 and it seems not to work there.

>> A couple of additional things to try:

> ->  Confirm on alphacent that rsync.key is present in ~/.ssh.

> yes, done.

>> - Confirm on alphacent that rsync.key is loaded in your ssh-agent
>>   (ssh-add -l) so your downsync script can use it.
 
> aha!

> moylan ~[1026] ssh-add -l
> The agent has no identities.

> "ssh-add ~/.ssh/rsync.key" did the trick.  rsync now
> passwordless as desired.

> HOWEVER, i went to aldeberan:

> moylan ~[1021] ssh-add -l
> The agent has no identities.

> and yet rsync works passwordless there.  (sigh) there is so
> much i do not understand, but i'm glad that there are others
> who do.

BUT -- here's another little oddity.  it works fine from the
command line prompt, but not in a cron script (where i want to
use it).  it works in the cron script on aldeberan.

ole dan

j. daniel moylan
84 harvard ave
brookline, ma 02446-6202
617-777-0207 (cel old ng)
857-396-9950 (cel new)
jdm at moylan.us
www.moylan.us
[BLM]


More information about the Discuss mailing list