[Discuss] rsync issue

Derek Atkins derek at ihtfp.com
Tue Nov 1 16:39:26 EDT 2022


Hi,

Have you tried running ssh with -v?

Going out on a limb, what do you get from:

ls -la $HOME/.ssh

Initial guess is that .ssh dir is not mode 0700, and SSH doesn't like that.

-derek

On Tue, November 1, 2022 4:28 pm, 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.  i've set up
> .ssh the same on all three:
>
> -rw-------. 1 moylan moylan  539 221101:1436 authorized_keys
> -rw-------. 1 moylan moylan 2.4K 221031:1623 known_hosts
> -rw-------. 1 moylan moylan 1.8K 221031:1615 rsync.key
> -rw-r--r--. 1 moylan moylan  521 221101:1518 rsync.key.pub
>
> where the files are all identical, except for known_hosts.
>
> i have a little command file, which downloads foo
> passwordless on aldeberon, but not alphacent -- gotta put a
> password in there.
>
> #! /bin/bash
> # downsync
>   hml=/home3/moylanus
>   hmr=moylanus at 50.87.218.82
>   opt="-rlptgozE --delete"
>   rsync $opt $hmr:foo $hml
>
> and though this works fine on aldeberon itself, it doesn't
> work passwordless on an ssh aldeberon window on alphacent.
>
> i haven't a clue as to what's going on.  any suggestions?
>
> 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]
> _______________________________________________
> Discuss mailing list
> Discuss at lists.blu.org
> http://lists.blu.org/mailman/listinfo/discuss
>


-- 
       Derek Atkins                 617-623-3745
       derek at ihtfp.com             www.ihtfp.com
       Computer and Internet Security Consultant



More information about the Discuss mailing list