Thanks!
I ended up solving the problem by specifying the path to the file using 
pysftp.CnOpts.  The service seems to be working now but we won’t know for sure 
until we get some snow here in the DRY Sierra Nevada mountains.

> On Jan 14, 2018, at 1:06 PM, gjr80 <gjroder...@gmail.com> wrote:
> 
> 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 a topic in the Google 
> Groups "weewx-user" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/weewx-user/WQdXpSrKyEs/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> weewx-user+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to