" If you can ssh in as yourself but 'not' as weewx, that means your weewx 
.ssh/config setup isn't quite right...."

This is exactly what is happening. Should I generate the pub/priv keys 
again but as the weewx user rather than the main user?

On Friday, July 5, 2024 at 11:52:16 AM UTC-5 vince wrote:

> Hard to say but I still think your weewx user's ssh setup vs. your remote 
> system is incorrect.
>
>    - use your normal account and ssh in 'without' a password using a 
>    passwordless keypair and see if it works
>    - do the same test from the weewx account and see if that also works
>
> If you can ssh in as yourself but 'not' as weewx, that means your weewx 
> .ssh/config setup isn't quite right....
>
> Remember - you need a 'passwordless' keypair for weewx. 
>
> On Friday, July 5, 2024 at 8:20:39 AM UTC-7 Ben W. wrote:
>
>>
>> Thanks - that was able to work for me. The rsync is still failing but at 
>> least it's for a new reason now! 
>>
>> I get this
>> ERROR weeutil.rsyncupload: **** Permission denied, please try again.
>>
>> even though I was able to connect via this step:
>>
>> # seed its known_hosts file and set permissions correctly
>> ssh your_remote_host_or_ip
>> (answer yes for the host key prompt, then ^C to exit)
>> (and exit your weewx shell)
>>
>>
>> On Friday, July 5, 2024 at 9:05:56 AM UTC-5 Graham Eddy wrote:
>>
>>> try ' sudo -u weewx -i ‘ to get an interactive shell as weewx
>>> *⊣GE⊢*
>>>
>>> On 5 Jul 2024, at 11:48 PM, Ben W. <proofof...@gmail.com> wrote:
>>>
>>> For this step...
>>>
>>> # su to the weewx account
>>> su - weewx
>>> (you will be in a shell as weewx)
>>>
>>> ...it is asking for a password. If I can no longer remember it or cannot 
>>> find it, then I'm toast, correct?
>>>
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/2dcb508f-c197-4a53-85b5-34a59ca48dcfn%40googlegroups.com.

Reply via email to