Are you running wee_reports as the same user as weewxd? Perhaps the latter
does not have access to the keys?

On Thu, May 28, 2020 at 10:01 AM Benjamin Trey Blue <[email protected]>
wrote:

> Ahhh, got it - thank you. Added it there and I can see it being passed,
> but the result is the same:
>
>
> May 28 12:51:17 raspberrypi weewx[10689] ERROR weeutil.rsyncupload:
>> [['rsync', '--archive', '--stats', '-e ssh -o IdentitiesOnly=yes',
>> '/var/www/html/', '[email protected]:/home4/USER/public_html']] reported
>> errors: Permission denied, please try again.. Received disconnect from
>> XX.XX.XX.XX port 22:2: Too many authentication failures for USER.
>> Disconnected from XX.XX.XX.XX port 22. rsync: connection unexpectedly
>> closed (0 bytes received so far) [sender]. rsync error: unexplained error
>> (code 255) at io.c(235) [sender=3.1.3]
>
>
> Manually invoked with sudo wee_reports again and it worked:
>
> May 28 12:57:23 raspberrypi wee_reports[10914] INFO weeutil.rsyncupload:
>> rsync'd 112 files (1,461,848 bytes) in 7.24 seconds
>
>
>
>
> On Thursday, May 28, 2020 at 12:43:45 PM UTC-4, John Kline wrote:
>>
>> Oops, I meant the [[RSYNC]] section.
>>
>> [[RSYNC]]
>>     ssh_options = -o IdentitiesOnly=yes
>>
>> [[SSH]]
>>>     ssh_options = -o IdentitiesOnly=yes
>>>
>>
>> On May 28, 2020, at 8:56 AM, Benjamin Trey Blue <[email protected]>
>> wrote:
>>
>> 
>> Thanks for the reply - I do not see a section for [[SSH]] in my
>> weewx.conf - do I nest that under the same [StdReport] section where
>> [[RSYNC]] is found? I pasted it just below the end of [[RSYNC]] but can't
>> see where the option was passed along:
>>
>> May 28 11:45:58 raspberrypi weewx[8853] ERROR weeutil.rsyncupload:
>>> [['rsync', '--archive', '--stats', '-e ssh', '/var/www/html/',
>>> '[email protected]:/home4/USER/public_html']] reported errors:
>>> Permission denied, please try again.. Received disconnect from XX.XX.XX.XX
>>> port 22:2: Too many authentication failures for USER. Disconnected from
>>> XX.XX.XX.XX port 22. rsync: connection unexpectedly closed (0 bytes
>>> received so far) [sender]. rsync error: unexplained error (code 255) at
>>> io.c(235) [sender=3.1.3]
>>>
>>
>>
>>
>> On Thursday, May 28, 2020 at 11:36:26 AM UTC-4, John Kline wrote:
>>>
>>> Sorry, didn’t mean to send that yet:
>>>
>>> Should read:
>>>
>>> Does it work if you add the following to the SSH configuration in
>>> weewx.conf?
>>>
>>> [[SSH]]
>>>     ssh_options = -o IdentitiesOnly=yes
>>>
>>> On May 28, 2020, at 8:34 AM, John Kline <[email protected]> wrote:
>>>
>>> 
>>> Does it work if you add:
>>>
>>> [[SSH]]
>>> ssh_options = -o IdentitiesOnly=yes
>>>
>>>
>>> -o IdentitiesOnly=yes
>>>
>>>
>>> On May 28, 2020, at 8:28 AM, Benjamin Trey Blue <[email protected]>
>>> wrote:
>>>
>>> Too many authentication failures for
>>>
>>> --
>> 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 [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/weewx-user/76ef08ae-203e-4caf-9cfa-616faa16be67%40googlegroups.com
>> <https://groups.google.com/d/msgid/weewx-user/76ef08ae-203e-4caf-9cfa-616faa16be67%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/215768b7-1c70-447b-9f14-013db031ee89%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/215768b7-1c70-447b-9f14-013db031ee89%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEBq0uKbx87TfEy7ojpjZmjKBv8RNr4-RLxX8GRJEvCTWA%40mail.gmail.com.

Reply via email to