Okay, they are in the right place.

Do they have the correct permissions? If those are screwed up it will
ask for a password regardless of any public key.

What happens when you - from your terminal - enter the following...

ssh [email protected]

If it asks for a password then it's not setup correctly. Try...

ssh -v  [email protected]

That will return some info (add more 'v' s for more info) . Any
obvious errors in the output that returns?



On 22/02/2023, Jens-Jørgen Kjærgaard <[email protected]> wrote:
> I have given rsync a try, suggested by tk as a much better option than ftp.
> However, I get
>
> Feb 21 17:31:22 raspberrypi weewx[3741] DEBUG weewx.reportengine: Running
> report 'RSYNC'
> Feb 21 17:31:22 raspberrypi weewx[3741] DEBUG weewx.reportengine: Found
> configuration file /home/jjk/weewx/skins/Rsync/skin.conf for report 'RSYNC'
> Feb 21 17:31:22 raspberrypi weewx[3741] DEBUG weewx.reportengine: Cannot
> read localization file /home/jjk/weewx/skins/Rsync/lang/en.conf for report
> 'RSYNC': Config file not found: "/home/jjk/weewx/skins/Rsync/lang/en.conf".
> Feb 21 17:31:22 raspberrypi weewx[3741] DEBUG weewx.reportengine: ****
> Using defaults instead.
> Feb 21 17:31:22 raspberrypi weewx[3741] DEBUG weeutil.rsyncupload:
> rsyncupload: cmd: [['rsync', '--archive', '--stats', '-e', 'ssh',
> '/home/jjk/weewx/public_html/',
> '[email protected]:/public_html/hytte']]
> Feb 21 17:31:22 raspberrypi weewx[3741] ERROR weeutil.rsyncupload: rsync
> reported errors. Original command: ['rsync', '--archive', '--stats', '-e',
> 'ssh', '/home/jjk/weewx/public_html/',
> '[email protected]:/public_html/hytte']
> Feb 21 17:31:22 raspberrypi weewx[3741] ERROR weeutil.rsyncupload: ****
> Permission denied, please try again.
> Feb 21 17:31:22 raspberrypi weewx[3741] ERROR weeutil.rsyncupload: ****
> Permission denied, please try again.
> Feb 21 17:31:22 raspberrypi weewx[3741] ERROR weeutil.rsyncupload: ****
> [email protected]: Permission denied (password).
> Feb 21 17:31:22 raspberrypi weewx[3741] ERROR weeutil.rsyncupload: ****
> rsync: connection unexpectedly closed (0 bytes received so far) [sender]
> Feb 21 17:31:22 raspberrypi weewx[3741] ERROR weeutil.rsyncupload: ****
> rsync error: unexplained error (code 255) at io.c(235) [sender=3.1.3]
> Feb 21 17:31:23 raspberrypi weewx[3741] DEBUG weewx.restx: StationRegistry:
>
> Failed upload attempt 3: b'FAIL: Server is undergoing maintenance\n'
> Feb 21 17:31:23 raspberrypi weewx[3741] ERROR weewx.restx: StationRegistry:
>
> Failed to publish record 2023-02-21 17:30:00 CET (1676997000): Failed
> upload after 3 tries
>
> Apparently, something is wrong with my permissions - I have the private and
>
> public keys in the right place for passwordless ssh - but nevertheless get:
>
> Permission denied (password).
>
> --
> 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/8bcb1036-9f07-40ed-901c-da560b571de8n%40googlegroups.com.
>


-- 


Cheers
 Glenn

rorpi - read only raspberry pi & various weewx addons
https://github.com/glennmckechnie

-- 
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/CAAraAzjNMKwgwE8BXMwNodYygU1dvkCx9na8NmwdLZOYYMM3Jg%40mail.gmail.com.

Reply via email to