UPDATE: I had to modify the weewx-sftp extension a bit to use a keyed login instead of a password. It meant, in sftp.py, changing all references of passwordto private_key, changing the hard-wired port number from 2222 to 9999 (my new provider uses 9999), and changing the entry 'password' in the config file to:
private_key = /home/<user_directory>/.ssh/id_rsa Unrelated, and probably due to my implementation of Python, I got an error related to GSS_EXCEPTIONS. I Googled the error and found others (non-weewx related software) were getting the same error. They recommended uninstalling python-gssapi and I did so. Now everything works fine. - Paul VE1DX On Tuesday, March 26, 2019 at 5:17:58 PM UTC-3, WindnFog wrote: > > Hi guys, > > I am pondering switiching providers and hosting my web page on another > server that doesn't support SSH, just sftp. I am currently transferring > the contents of /home/weewx/public_html/ to it as a test using sftp in a > cron job that runs 1 minute after the standart weewx upload. I notice the > documentation says weewx suppots FTPS (which I'm using with my current > provider), add then goes on to say "*not* to be confused with SFTP, which > uses a Secure Socket Shell protocol." > > I don't think I can convince the potential new host to allow me to do it > via FTPS. They seem fairly rigid about sftp only. Does weewx support > sftp, and if not, are there any plans to implement it? If the answer is > no, I'll stay with my current provider and use FTPS. > > - Paul VE1DX > -- 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.
