Re: [weewx-user] SSH

2023-02-24 Thread Glenn McKechnie
Okay, they are in the right place. Do they have the correct permissions? If those are screwed up it will ask for a password regardless of any public key. What happens when you - from your terminal - enter the following... ssh jensjk...@linux83.unoeuro.com If it asks for a password then it's

[weewx-user] SSH

2023-02-21 Thread Jens-Jørgen Kjærgaard
I have given rsync a try, suggested by tk as a much better option than ftp. However, I get Feb 21 17:31:22 raspberrypi weewx[3741] DEBUG weewx.reportengine: Running report 'RSYNC' Feb 21 17:31:22 raspberrypi weewx[3741] DEBUG weewx.reportengine: Found configuration file

Re: [weewx-user] SSH Known Hosts issue

2018-01-14 Thread Joe Percival
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 wrote: > >

[weewx-user] SSH Known Hosts issue

2018-01-14 Thread gjr80
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

[weewx-user] SSH Known Hosts issue

2018-01-14 Thread Joe Percival
The new service I've written uses pysftp which in turn uses SSH. when I run a test script it works. When the service runs I'm getting an SSH exception: SSHException: No hostkey for host 192.168.1.175 found I thought that the problem might be that there was no .ssh/known_hosts file under