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 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 Thursday, January 13, 2022 at 1:28:32 PM UTC-5 vince wrote: > >> "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 testuser@pi >> The authenticity of host 'nuc2 (192.168.1.171)' can't be established. >> ECDSA key fingerprint is 4e:8a:b5:6a:12:a2:a0:6d:f6:64:07:35:d0:e7:17:1b. >> Are you sure you want to continue connecting (yes/no)? yes >> Warning: Permanently added 'nuc2,192.168.1.171' (ECDSA) to the list of >> known hosts. >> >> >> Lastly, your log and weewx.conf show a user name of 'remote_user' which >> I'm hoping is a typo. If it's what you really want, you will need a user >> named "remote_user" created on the host you want to rsync to, and they will >> need to be able to write to whatever directory on the remote side that you >> specified in weewx.conf or you'll get permission errors. >> >> -- 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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/376409f1-8fdd-4cee-8b8e-3997b51ee6can%40googlegroups.com.