The issue is most likely related to which user account is running your code. 
When you run your code outside of weeWX what account is being used? Is that the 
same account as that which runs weeWX (commonly root)? If they are different 
you will need to make sure you known hosts file is in ~/.ssh for root. No need 
for anything in the weeWX tree. Or to take a different approach, try and get 
your code running outside weeWX when logged in as the account that runs weeWX, 
once it works it should work under weeWX (well at least the ssh part should 
work).

You run into similar issues getting rsync to work under weeWX, it's all about 
the account that runs weeWX not the account you normally login with.

Gary

-- 
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.

Reply via email to