[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

[weewx-user] Re: rsync does not work after upgrade to v5

2024-03-01 Thread Mario Wesolek
remember the permissions of files on the remote machine! Mario Wesolek schrieb am Freitag, 1. März 2024 um 10:59:16 UTC+1: > problem here: since weewx 5 the deamon runs no more as root. The new user > "weewx" hat his homedir under "/var/lib/weewx/" so i create the ssh config > there. this is a

[weewx-user] Re: rsync does not work after upgrade to v5

2024-03-01 Thread Mario Wesolek
problem here: since weewx 5 the deamon runs no more as root. The new user "weewx" hat his homedir under "/var/lib/weewx/" so i create the ssh config there. this is a workaround, but it works... teq...@gmail.com schrieb am Freitag, 1. März 2024 um 10:36:32 UTC+1: > Hello, > first I messed up

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 error after updating to Ubuntu 22.04

2023-09-27 Thread Jon B
Thanks, that fixed the graphs. Turns out that the lack of a "Last updated" message was due to me playing around with the message that is displayed when the data hasn't been updated for a while - for some reason trying to customise this caused it to break. I'll try the stack overflow solutions

[weewx-user] Re: Rsync error after updating to Ubuntu 22.04

2023-09-27 Thread vince
See if https://stackoverflow.com/questions/667992/rsync-error-failed-to-set-times-on-foo-bar-operation-not-permitted helps any For the graphs thing, look at https://groups.google.com/g/weewx-user/c/yfG1JvCP3Us if you're running an

[weewx-user] Re: Rsync error after updating to Ubuntu 22.04

2023-09-27 Thread Jon B
I was able to fix this issue by adding "ssh_options = "-av -oHostKeyAlgorithms=+ssh-dss" " to the Rsync section of weewx.conf and the Rsync now works (it's able to make the connection and transfer files), though there is still an error in the logs. This error is: Sep 27 16:38:25 machine-name

[weewx-user] Re: Rsync error after updating to Ubuntu 22.04

2023-08-23 Thread Jon B
Thanks for the reply. I've just copied the correct key across to the server, but I'm still getting the same error. When I try to ssh to the server using simply "ssh username@remote-server" I also get that error, and I have to add "-o HostKeyAlgorithms=ssh-dss" to be able to ssh in

[weewx-user] Re: Rsync error after updating to Ubuntu 22.04

2023-08-23 Thread Invisible Man
Your Rsync works through SSH, and the first line of the logs shows that it expects to be able to log in using a host key, but it can't find your host key. So, you need to copy the SSH key of the host you are Rsyncing from to the host you are Rsyncing to, in its .ssh/authorized_keys. I presume

[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

Re: [weewx-user] Re: RSync using NFS

2023-03-05 Thread Mark Fraser
On 04/03/2023 21:13, paul.ba...@gmail.com wrote: Hello, I don't understand why you want to use rsync over NFS. NFS juste does all the work for you. Once the remote file system is  mounted, usually at boot or login depending on the setup, there is no more distinction between the local files

[weewx-user] Re: RSync using NFS

2023-03-04 Thread paul.ba...@gmail.com
Hello, I don't understand why you want to use rsync over NFS. NFS juste does all the work for you. Once the remote file system is mounted, usually at boot or login depending on the setup, there is no more distinction between the local files and the remote ones. So, in weewx.conf - disable

[weewx-user] Re: RSync using NFS

2023-03-02 Thread vince
Set your server to 127.0.0.1 and rsync-over-ssh to yourself. Just follow the same procedure you'd do for setting up a remote system. You need a /root/.ssh/config file and the public key you use should be in /root/.ssh/authorized_keys on the weewx system. On Thursday, March 2, 2023 at

[weewx-user] Re: RSync using NFS

2023-03-02 Thread cric...@pobox.com
Well...not exactly. I didn't look to see what weewx does with the empty server in the config, but either way rsync still works over ssh, which isn't nfs. Just straight using nfs, you soft link could link between your weewx directory and your destination on the other machine. Or you can set up

Re: [weewx-user] Re: Rsync Help or User Help :o)

2022-11-16 Thread cric...@pobox.com
Important detail: What is important with the slashes and the path are related to the SOURCE path. It doesn't matter if the destination does or doesn't have a trailing slash. It does matter if the destination specifies a file rather than a directory, though. On Tuesday, November 15, 2022 at

Re: [weewx-user] Re: Rsync Help or User Help :o)

2022-11-15 Thread FIA Ranch
Okay.. Thanks all for the thoughts and comments. For the sake of anyone fighting this same issue somewhere in the future, let me get this refocused, clarified, up to date. Baseline Info -- 1) Host Machine is a hosting company 2) The host machine is a shared Linux based machine 3) I own

Re: [weewx-user] Re: Rsync Help or User Help :o)

2022-11-15 Thread 'John Kline' via weewx-user
A trailing slash means copy the contents of the directory.Note that WeeWX code will add the slash if it is a directory.  See code snippet below.weewx/rsyncupload.py at master · weewx/weewxgithub.com        # If the source path ends with a slash, rsync interprets        # that as a request to copy

Re: [weewx-user] Re: Rsync Help or User Help :o)

2022-11-15 Thread cric...@pobox.com
A couple of points about the trailing slashes. A trailing slash means copy the contents of the directory. The --archive means copy everything below the specified directory. Not including a trailing slash means copy this directory and with --archive, everything below it. It's not a matter of

Re: [weewx-user] Re: Rsync Help or User Help :o)

2022-11-15 Thread Greg Troxel
"gszla...@gmail.com" writes: > 1. Vince is correct. WeeWX runs as root and RSA generation must be done as > root. I was sure Vince was correct to start with :-) but I think running weewx as root is the wrong thing to do. I run it as a non-root user, and really there should be a dedicated

[weewx-user] Re: Rsync Help or User Help :o)

2022-11-15 Thread gszla...@gmail.com
Technical support at the web host was required to set things up. 1. Vince is correct. WeeWX runs as root and RSA generation must be done as root. 2. slahes matter. If you are missing a slash, rsync will not work. Note the preceding and trailing slash in HTML_ROOT 3 Port numbers are important.

[weewx-user] Re: Rsync Help or User Help :o)

2022-11-14 Thread vince
path = the absolute path to where you want things to go. The parent directory must already be there and be writable. I do not provide a trailing slash nor a HTML_ROOT item. Here's mine. [[RSYNC]] skin = Rsync enable = true server = 1.2.3.4 user =

[weewx-user] Re: Rsync Help or User Help :o)

2022-11-14 Thread FIA Ranch
First thank you very much for you time and expertise... I do appreciate it. I have got things running from root. Can get in, out, etc with the server. Can do long Rsync command at the top of this novel from root. However.. it did not fix the command content/format error. My guess is

[weewx-user] Re: Rsync Help or User Help :o)

2022-11-14 Thread vince
It's doesn't matter what the fiaranch account is. Unless you did something special, weewx runs as root so you have to set up passwordless ssh in the 'root' account for weewx's rsync uploader to work. All your steps looked correct to me. You just didn't do it under the root account. Note -

[weewx-user] Re: Rsync Help or User Help :o)

2022-11-14 Thread FIA Ranch
Thanks. Am not a Linux expert, but 1) fiaranch is an admin account. I understand that is not root. 2) I did all the get, install, etc, under the user account. I hear you saying it runs under root. 3) I will create a key pair under root. Upload the public one to the server. See if that

[weewx-user] Re: Rsync Help or User Help :o)

2022-11-14 Thread vince
Two things. One is you need to do your steps as the account weewx runs as, which is likely root. While doing your steps from the unprivileged account 'fiaranch' does prove the remote side works and the key works, it has nothing to do with weewx at all. To get weewx rsync working you need

[weewx-user] Re: rsync not working (weewx-Belchertown skin)

2022-01-14 Thread gszla...@gmail.com
Thanks. I believe you are correct.The weewx user is root so weewx rsync with non-root user keysis not going to work. Learn something new every day.. On Thursday, January 13, 2022 at 12:11:47 PM UTC-5 tops...@gmail.com wrote: > Is WeeWx running as the same user as your user? Error looks to me

[weewx-user] Re: rsync not working (weewx-Belchertown skin)

2022-01-14 Thread vince
yes - connect in once as whatever user weewx is running as (which is almost always root) On Friday, January 14, 2022 at 3:17:18 PM UTC-8 gszla...@gmail.com wrote: > Thanks vince! > > I assume that weewx is running as root for a normal apt-get debian type of > install. > > It looks like when I

[weewx-user] Re: rsync not working (weewx-Belchertown skin)

2022-01-14 Thread gszla...@gmail.com
Thanks vince! I assume that weewx is running as root for a normal apt-get debian type of install. It looks like when I ssh as root it asks for a password each time. So if weewx-rsync fails each time as root, then would you not have to generate keys as root instead of a non-root user? On

[weewx-user] Re: rsync not working (weewx-Belchertown skin)

2022-01-13 Thread vince
"Host key verification failed." is the indicator here. You need to attempt to ssh into the remote computer as the local weewx user (probably root) at least once so that ssh saves the other side's host key. When it prompts you, say yes. It should look something like this example: # ssh

[weewx-user] Re: rsync not working (weewx-Belchertown skin)

2022-01-13 Thread Topslakr Topslakr
Is WeeWx running as the same user as your user? Error looks to me like the weewx user hasn't done the key sharing to allow password-less rsync over ssh. On Thursday, January 13, 2022 at 10:58:19 AM UTC-5 gszla...@gmail.com wrote: > WeeWX version 4.5.1 - debian install > MQTT > GW1000 API >

Re: [weewx-user] Re: RSYNC port not working in weewx.conf ?

2022-01-03 Thread Chris Alemany
Thanks for this comment Gary. You forced me to reevaluate.. and I realized I was looking at an old install of weewx on my Pi, not the one that was active. Not used to the Pi's software being installed more spread out. The two patches are now properly applied and SSH is working well. Thank

Re: [weewx-user] Re: RSYNC port not working in weewx.conf ?

2022-01-02 Thread gjr80
It would help if you provided a longer log extract, four lines are better than one but it it is still a bit like looking down a straw :). So that we all have a complete picture could your restart WeeWX (keeping debug=1) and let it run for a couple of archive periods. Then post a log extract

Re: [weewx-user] Re: RSYNC port not working in weewx.conf ?

2022-01-02 Thread Chris Alemany
Still the same error essentially. Using the new code for both rsyncupload https://github.com/weewx/weewx/blob/68bf6c40332d37bdb7b2e81803edb4141fb9/bin/weeutil/rsyncupload.py and weather34 https://github.com/steepleian/weewx-Weather34/blob/development/user/weather34.py ). DEBUG log

Re: [weewx-user] Re: RSYNC port not working in weewx.conf ?

2022-01-02 Thread Tom Keffer
The debug code will show you the parameters to the Popen() call that invokes rsync. Unfortunately, that's all you get. Still, it should be enough. What does it show now? -tk On Sun, Jan 2, 2022 at 9:02 AM Chris Alemany wrote: > I've updated the code in my rsyncupload.py file as well as a fix

Re: [weewx-user] Re: RSYNC port not working in weewx.conf ?

2022-01-02 Thread Chris Alemany
I've updated the code in my rsyncupload.py file as well as a fix provided by weather34.py and it is still defaulting to port 22. https://github.com/steepleian/weewx-Weather34/blob/development/user/weather34.py Is there a way that I could temporarily have rsyncupload output the actual command it

Re: [weewx-user] Re: RSYNC port not working in weewx.conf ?

2022-01-02 Thread Tom Keffer
Fixed in commit 68bf6c4 , to appear in V4.6. On Sun, Jan 2, 2022 at 4:52 AM Tom Keffer wrote: > So, it sounds like there are two problems: the weewx code does not include > quotes around the -e argument, and the

Re: [weewx-user] Re: RSYNC port not working in weewx.conf ?

2022-01-02 Thread Tom Keffer
So, it sounds like there are two problems: the weewx code does not include quotes around the -e argument, and the weather34 code doesn't honor the port spec at all. I'll create a patch for the weewx code later today. Looked through the weather34 code. It could use a big refactor to leverage some

Re: [weewx-user] Re: RSYNC port not working in weewx.conf ?

2022-01-01 Thread Chris Alemany
I will pass that along, it occurred to me as well that the Standard skin had been updating fine through all of this, so it was definitely weather34 specific. Thanks Gary! On Saturday, January 1, 2022 at 10:34:23 PM UTC-8 gjr80 wrote: > I just browsed through the WeeWX Weather 34 code and saw

Re: [weewx-user] Re: RSYNC port not working in weewx.conf ?

2022-01-01 Thread gjr80
I just browsed through the WeeWX Weather 34 code and saw calls to the WeeWX rsync upload code with the port forced to None. That will cause the rsync uploader (used by the Weather 34 code) to always use port 22. Setting the port number under [StdReport] [[RSYNC]] only affects rsync reports runs

Re: [weewx-user] Re: RSYNC port not working in weewx.conf ?

2022-01-01 Thread Chris Alemany
I think I've determined the issue. The rsync command being generated is missing the quotes: I am working with the weather34 folks and they added some debug in the code so we could see the port being issued, which it does but when I issue the command at the command line I get: sudo rsync

Re: [weewx-user] Re: RSYNC port not working in weewx.conf ?

2022-01-01 Thread Tom Keffer
I just tried setting port = 27 and it worked. Either you are using a different weewx.conf than you think you are using, or it was not set correctly in the [[RSYNC]] section It would really help if you posted the full log. It will tell you which copy of weewx.conf it is using. On Sat, Jan 1,

[weewx-user] Re: RSYNC port not working in weewx.conf ?

2022-01-01 Thread Chris Alemany
Hi Gary, Thanks. Yes I've confirmed rsync works on that port on the computer and from the account needed as well as other computers. I have a cronjob using it as well. Here's the Debug with the command. It doesn't seem to mention any port so is it ignoring the config for some reason? I wonder

[weewx-user] Re: RSYNC port not working in weewx.conf ?

2022-01-01 Thread gjr80
Hi, As far as WeeWX is concerned setting the port config option should be all that's needed. Something like (untested): [StdReport] [[RSYNC]] port = 27 If that is not working I suggest you edit weewx.conf and set debug = 1. Save and restart WeeWX. Have a look

[weewx-user] Re: Rsync connection to remote server

2021-04-14 Thread Dun Mac
Thank you, Vince (once again). I had used my standard login to create the config file and had not created it as the root user. It is now working. On Thursday, April 15, 2021 at 1:19:49 PM UTC+10 vince wrote: > You should not alter your system-wide /etc/ssh/ssh_config at all and you > should

[weewx-user] Re: Rsync connection to remote server

2021-04-14 Thread vince
You should not alter your system-wide /etc/ssh/ssh_config at all and you should never get prompted for a password if you have it set up correctly. That stanza needs to be in root's ssh config file, which likely is /root/.ssh/config on a pi. Your weewx.conf file needs to use the same 'server

[weewx-user] Re: Rsync connection to remote server

2021-04-14 Thread Dun Mac
This is my ~/.ssh/config file; Host 107.xxx.xxx.xxx IdentityFile ~/.ssh/id_rsa User o1 When my /etc/ssh/ssh_config file has; PasswordAuthentication no the Rsync fails .. Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).. When my /etc/ssh/ssh_config file has;

[weewx-user] Re: Rsync connection to remote server

2021-04-14 Thread vince
This is rsync 101.You need the account you are running weewx under (root) to have a ~/.ssh/config file that tells it which key to use to connect to the remote system, as well as which account to use on the remote side. Host my.remote.host.com IdentityFile ~/.ssh/my_private_key user

[weewx-user] Re: Rsync connection to remote server

2021-04-14 Thread tomn...@frontier.com
Are you testing as your own userID, but weewx is running as root? From the command line you can add -v or -vv to your ssh command to get a TON of details about the ssh connection. Read it slowly and carefully. Also, you can try the rsync by hand as well. No point trying to debug it within

[weewx-user] Re: Rsync connection to remote server

2021-04-14 Thread Dun Mac
According to the web server the public keys were accepted by the server. They have sent a copy of their logs; ### Apr 14 03:24:57 ams102 sshd[2890665]: Accepted publickey for offgrid1 from 49.xxx.xxx.xx port 34506 ssh2: RSA SHA256:oMhJCSYLqpgYZ6mYwxcQvedv+hycs5kTOTLfVKhtPRzmGStXdRaHU Apr 14

Re: [weewx-user] Re: RSYNC

2020-06-11 Thread Jose
hi Glenn you are right. rsync -a --delete -e ssh /home/pi/backup.tar.gz user@ssh.hosting:/www/ backup/ it is working fine now. thanks. El jueves, 11 de junio de 2020, 3:37:43 (UTC+2), Glenn McKechnie escribió: > > On 11/06/2020, Jose > wrote: > [...] > > > > rsync -a --delete -e ssh

Re: [weewx-user] Re: RSYNC

2020-06-10 Thread Glenn McKechnie
On 11/06/2020, Jose wrote: [...] > > rsync -a --delete -e ssh /home/pi/backup.tar.gz user@ssh.hosting:/www/ > backup/ &> /dev/null > > this command worked fine in the past but not now. When I run this command > nothing happens, no updating remote hosting and even no error messages. so > RSYNC

[weewx-user] Re: RSYNC

2020-06-10 Thread Greg from Oz
This works for me rsync -ruva --delete -e "ssh -l root -i /root/.ssh/id_rsa" root@192.168.2.2:/backups/ $FILELOCATION/dmz/ On Thursday, 11 June 2020 07:17:02 UTC+10, Jose wrote: > > Hi, > > remote hosting is updated with new files using RSYNC from WeeWX, thank > you, but if I am having

[weewx-user] Re: RSYNC

2020-06-10 Thread gjr80
My apologies, I thought your problem involved WeeWX rsync not working. I assume you are trying to execute the command below from the command line on your WeeWX machine. As I pointed out in my previous post a common issue is that passwordless ssh has been setup for a given user account that is

[weewx-user] Re: RSYNC

2020-06-10 Thread Jose
Hi, remote hosting is updated with new files using RSYNC from WeeWX, thank you, but if I am having some problems when I try to do it with rsync -a --delete -e ssh /home/pi/backup.tar.gz user@ssh.hosting:/www/ backup/ &> /dev/null this command worked fine in the past but not now. When I run

[weewx-user] Re: RSYNC

2020-06-10 Thread Greg from Oz
If weewx is running as root then usually by default the root user is not allowed to ssh Did you try the root@server ssh or were you just using another user? On Wednesday, 10 June 2020 20:21:43 UTC+10, Jose wrote: > > Hi > > > I want to send copy from raspberrypi to a remote server with rsync to

[weewx-user] Re: rsync fails with host key error in weewx, not from command line

2019-08-21 Thread Chris Richmond
Hi Tony, I've set things up (udev, specify pid file path) so I don't have to run as root. Vince, what changed was the FQDN of the filer (changed domain names), so that was the issue. It's a bit of a learning experience to have two local domains. As an aside, I've got <2 weeks to figure

[weewx-user] Re: rsync fails with host key error in weewx, not from command line

2019-08-21 Thread Anthony Fandino
Chris, Understand that weewx runs as root. host key and id must be in the root/.ssh/ hope that helps Tony On Wednesday, August 21, 2019 at 9:29:52 AM UTC-4, Chris Richmond wrote: > > Hi, >I'm not new to ssh and all, but this one doesn't make sense. I'm > messing around with > getting

Re: [weewx-user] Re: RSync failing after the first upload

2019-04-09 Thread Tom Mitchell
Thanks, Vince. On Tue, Apr 9, 2019 at 11:20 AM vince wrote: > On Tuesday, April 9, 2019 at 7:50:17 AM UTC-7, Tom Mitchell wrote: >> >> Thanks for the advice. What happens is gcp appends a new entry to my >> known_hosts file (which already has the hostname and key I use) with a very >> strange

Re: [weewx-user] Re: RSync failing after the first upload

2019-04-09 Thread vince
On Tuesday, April 9, 2019 at 7:50:17 AM UTC-7, Tom Mitchell wrote: > > Thanks for the advice. What happens is gcp appends a new entry to my > known_hosts file (which already has the hostname and key I use) with a very > strange looking one, and then fails to connect after doing it once >

Re: [weewx-user] Re: RSync failing after the first upload

2019-04-09 Thread Tom Mitchell
Thanks for the advice. What happens is gcp appends a new entry to my known_hosts file (which already has the hostname and key I use) with a very strange looking one, and then fails to connect after doing it once successfully. I am happy to get it right, but at this point, I just don't understand

Re: [weewx-user] Re: RSync failing after the first upload

2019-04-09 Thread vince
On Tuesday, April 9, 2019 at 1:57:25 AM UTC-7, Tom Mitchell wrote: > > Thanks @gary for the followup. I turned off stricthostkeychecking in the > .ssh/config file which resolved it. I don't know exactly this cloud server > does this, but it works and I am not going to dig too deep on it. > > >

Re: [weewx-user] Re: RSync failing after the first upload

2019-04-09 Thread gjr80
Well you're way ahead of me. Main thing is it works. Gary On Tuesday, 9 April 2019 18:57:25 UTC+10, Tom Mitchell wrote: > > Thanks @gary for the followup. I turned off stricthostkeychecking in the > .ssh/config file which resolved it. I don't know exactly this cloud server > does this, but it

Re: [weewx-user] Re: RSync failing after the first upload

2019-04-09 Thread Tom Mitchell
Thanks @gary for the followup. I turned off stricthostkeychecking in the .ssh/config file which resolved it. I don't know exactly this cloud server does this, but it works and I am not going to dig too deep on it. Thanks again. On Mon, Apr 8, 2019 at 10:50 PM gjr80 wrote: > Hi, > > Certainly

[weewx-user] Re: RSync failing after the first upload

2019-04-08 Thread gjr80
Hi, Certainly seen the same message before but can't say it was under the same circumstances though. No ssh/rsync expert but just thinking aloud as to what you could do; have you tried running rsync (repeatedly) from the command line with the same credentials so you can see/deal with anything

Re: [weewx-user] Re: Rsync vs FTP - which to choose/what are the pros and cons?

2018-10-08 Thread Thomas Keffer
Good suggestion. Done in commit 790715 . On Mon, Oct 8, 2018 at 5:33 AM Philip Kutzenco wrote: > Thomas, > > Can I make a request that the Rsync block in the initially default > weewx.conf file be updated (for the

[weewx-user] Re: Rsync vs FTP - which to choose/what are the pros and cons?

2018-10-08 Thread Philip Kutzenco
Thomas, Can I make a request that the Rsync block in the initially default weewx.conf file be updated (for the next version) to include the following lines (which are included in the default weewx.conf FTP block but not the default weewx.conf RSYNC block): # To upload files from

[weewx-user] Re: rsync to two different servers

2017-01-20 Thread gjr80
I run mutliple RSYNC reports, albeit to the same server but different with different HTML_ROOT settings. Can't see why it wont work, its just another report with its own settings. Gary On Saturday, 21 January 2017 11:15:11 UTC+10, vince wrote: > > Would weewx support rsync to 'two' remote