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 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 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 'root' user on the weewx system to be the local user, which 
is no longer accurate.  In v5 it is the 'weewx' user (upgrade guide link) 
<https://www.weewx.com/docs/5.0/upgrade/#weewx-runs-as-non-root-user>.  So 
it is very likely the host key of the remote computer is not known in the 
/home/weewx/.ssh/known_hosts file.  Simplest way around this would be do 
append whatever is in your legacy /root/.ssh/known_hosts file to your 
/home/weewx/.ssh/known_hosts file.

On Saturday, June 1, 2024 at 5:34:36 PM UTC-7 Ben W. wrote:

Greetings!
::


-- 
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/5215518e-5d92-40fa-b0ba-c3f8f1bce60an%40googlegroups.com.

Reply via email to