[weewx-user] Re: rsync: host key verification failed - problem

2024-06-02 Thread vince
Agree. My error there. I keep forgetting the weewx accounts $HOME for packaged installs is in an odd location. Thanks ! On Sunday, June 2, 2024 at 6:07:15 AM UTC-7 PBudmark wrote: > As correctly stated in > https://groups.google.com/g/weewx-user/c/50VCTyL-Tpw/m/DgScCzIDAQAJ, the > home

[weewx-user] Re: rsync: host key verification failed - problem

2024-06-02 Thread PBudmark
As correctly stated in https://groups.google.com/g/weewx-user/c/50VCTyL-Tpw/m/DgScCzIDAQAJ, the home directory for weewx is /var/lib/weewx and not /home/weewx, so .ssh need to go into /var/lib/weewx/.ssh On Sunday, June 2, 2024 at 4:32:07 AM UTC+1 Ben W. wrote: Thanks, Vince! I'm pretty

[weewx-user] Re: rsync: host key verification failed - problem

2024-06-01 Thread Ben W.
Thanks, Vince! I'm pretty sure I saw that link in my results, but the Ubuntu reference resulted in my continue scrolling. I will try your suggestion when I get back home! On Saturday, June 1, 2024 at 7:59:44 PM UTC-5 vince wrote: > If you google your exact error "*Host key verification

[weewx-user] Re: rsync: host key verification failed - problem

2024-06-01 Thread Ben W.
Hi Gary, Thank you for this information. To be frank, I'm unsure how I did that, but I'll research how to resolve it. I have my weather station plus indoor sensors all feeding through the Ecowitt GW hub. My intent was to have WeeWX capture everything from the GW hub data. Thank you! On

[weewx-user] Re: rsync: host key verification failed - problem

2024-06-01 Thread gjr80
Nothing to do with your rsync issue, but I notice in your log extract that you are running the Ecowitt gateway driver as both a driver and service in the same WeeWX instance against the same Ecowitt gateway device: Jun 01 19:18:18 rpi weewxd[200894]: INFO __main__: Debug: 0 Jun 01 19:18:18 rpi

[weewx-user] Re: rsync: host key verification failed - problem

2024-06-01 Thread vince
If you google your exact error "*Host key verification failed."* and it will return what's going on https://askubuntu.com/questions/45679/ssh-connection-problem-with-host-key-verification-failed-error The weewx-related answer is that you're using old notes that are still expecting the

[weewx-user] Re: rsync: host key verification failed - problem

2024-06-01 Thread Ben W.
Greetings! Thank you for logging these steps last year: 1. I logged as root ('sudo -i' from 'pi' account) 2. generated SSH keys ('ssh-keygen') 3. copied them to external server ('ssh-copy-id ace...@external.domain.com -p 222') 4. copied /home/pi/.ssh/config to

Re: [weewx-user] Re: rsync: host key verification failed - problem

2024-02-08 Thread Mario Wesolek
some problem.. weewx homedir is /var/lib/weewx ... copy the hostkey and config file to /var/lib/weewx/.ssh and chown it to weewx:weewx Kalju schrieb am Donnerstag, 8. Februar 2024 um 11:22:46 UTC+1: > Hi Dominic! > > Thanks for the tip. Indeed, the user was changed from *root* to *weewx* > That

Re: [weewx-user] Re: rsync: host key verification failed - problem

2024-02-08 Thread Kalju
Hi Dominic! Thanks for the tip. Indeed, the user was changed from *root* to *weewx* That solved the issue Thanks! On Thursday, February 8, 2024 at 11:49:48 AM UTC+2 Dominic Reich wrote: > Kalju wrote: > > >Hi all, > > > >Facing same issue with ERROR weeutil.rsyncupload: Host key >

Re: [weewx-user] Re: rsync: host key verification failed - problem

2024-02-08 Thread Dominic Reich
Kalju wrote: Hi all, Facing same issue with ERROR weeutil.rsyncupload: Host key verification failed error.  However, it's really strange... I can ssh to remote site as both root as well as pi user I can do manual rsync with no problems but weewx builtin rsync returns above error At the

[weewx-user] Re: rsync: host key verification failed - problem

2024-02-08 Thread 'Tomasz Lewicki' via weewx-user
In my weewx.conf I have a section: [[RSYNC]] enable = true server = XYZ # It's only identifier needed for file described below. Can be anything, for example MY_SECRET_SERVER path = /path/to/files/on/my/remote/server # for example: /domains/my-domain/public_html/pws And in

[weewx-user] Re: rsync: host key verification failed - problem

2024-02-08 Thread Kalju
Hi all, Facing same issue with *ERROR weeutil.rsyncupload: Host key verification failed *error. However, it's really strange... I can ssh to remote site as both *root* as well as *pi* user I can do manual rsync with no problems but weewx builtin rsync returns above error At the moment my

[weewx-user] Re: rsync: host key verification failed - problem

2023-07-21 Thread Tomasz Lewicki
Thank you for replies. @Warren Gill: yes, I was thinking about crontab but wanted to use built-in solution. Of course crontab is good as backup solution. @vince: you're right, I didn't think about it from this side. Just for record for future seekers: 1. I logged as root ('sudo -i' from 'pi'

[weewx-user] Re: rsync: host key verification failed - problem

2023-07-20 Thread vince
Unless you did something custom, weewx runs as root, not as user 'pi'. You need 'root' to be able to ssh into the remote system with the user+key you specified. Same procedure you did to get 'pi' to work, just do it after sudo(ing) to root so you set the 'root' account up similiarly. Two