On 1 February 2018 at 16:02, Yves Martin <[email protected]> wrote: > Hi Glenn, > > As soon as I send the question, I've got the answer looking in the > weewx.conf file. Sorry for that. >
> What do you mean by "password-less access", mean no password? > Probably a poor description. it uses your public key as the authority, not a password. This allows your scripts to access another machine without manual intervention (password-less). You can walk away from the keyboard, your presence is not required. Ah, and it is secure. https://debian-administration.org/article/530/SSH_with_authentication_key_instead_of_password I did not see any configuration for the password in the rsync config file in weewx,conf. That needs to be done at the OS level, but forget weewx.conf for setting up wxobs. Follow the link to the remote release (mentioned previously) and there's a link in the README pointing to a quick run through, plus the link above by the debian crew should explain it. http://github.com/weewx/weewx/wiki/Using-the-RSYNC-skin-as-a-backup-solution#Create_the_passwordless_access > I've tried rsync but get this error ... : rsyncupload: [['rsync', > '--archive', '--stats', '-e ssh', '/var/www/weewx/', '[email protected]: > /web/meteo']] reported errors: Permission denied, please try again.. > Permission denied, please try again.. Permission denied > (publickey,password).. rsync: connection unexpectedly closed (0 bytes... > The above is using the weewx.conf [RSYNC] section. That's fine if you want to change from FTP to RSYNC for your web transfers but that is seperate to the wxobs rsync which we need to get wxobs.php running remotely. You'll use the same user name though. The meteo user account will be creating the public key (with no password - hit enter when asked for one) and transferring the key with ssh-copy-id to 192.168.8.22 It might seems complicated, but once you've done it you'll find it was 'all bark and no bite'. Once you have wxobs transferring okay, you can go back and setup weewx.conf for its RSYNC transfers if you wish to, or leave it as FTP if that's working and you're happy with it. > Too late now, I will try later. > > Thanks again for your patience and help! > > Not a problem! > Yves > > [...] > 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]. For more options, visit https://groups.google.com/d/optout.
