Re: [weewx-user] Re: Secure FTP from ftpupload call?

2018-10-05 Thread David Hindley
Thanks again Gary, for your response. Very helpful as always. Upgrade looks a bit scary, but will give it a go. On Fri, 5 Oct 2018 at 14:01, gjr80 wrote: > On Friday, 5 October 2018 20:20:14 UTC+10, David Hindley wrote: >> >> Thanks, Gary. >> >> I think my problems with pysftp are something to d

Re: [weewx-user] Re: Secure FTP from ftpupload call?

2018-10-05 Thread David Hindley
Thanks, Gary. Will explore both options and decide which looks easier. On Fri, 5 Oct 2018 at 14:11, gjr80 wrote: > Really up to you, I am sure some folks will say you are best having a > daemon such as WeeWX run as a user other than root. I run WeeWX as root and > I suspect most folks do too. I

Re: [weewx-user] Re: Secure FTP from ftpupload call?

2018-10-05 Thread gjr80
Really up to you, I am sure some folks will say you are best having a daemon such as WeeWX run as a user other than root. I run WeeWX as root and I suspect most folks do too. I am happy that the risks are fairly minimal. The steps to change your system such that WeeWX is run as a user other than

Re: [weewx-user] Re: Secure FTP from ftpupload call?

2018-10-05 Thread gjr80
On Friday, 5 October 2018 20:20:14 UTC+10, David Hindley wrote: > > Thanks, Gary. > > I think my problems with pysftp are something to do with using Wheezy on a > RPi and ver 2.7 of Python. That seems to have an old version of pip, so I > managed to update that to pip ver 18.0, but then pip shows

Re: [weewx-user] Re: Secure FTP from ftpupload call?

2018-10-05 Thread David Hindley
Gary - regarding the ssh point - which option would you recommend - change the user that runs weewx to pi, or create ssh keys for the root user (which I believe currently runs weewx)? David. On Fri, 5 Oct 2018 at 07:10, gjr80 wrote: > I presume that your working passwordless ssh is from your We

Re: [weewx-user] Re: Secure FTP from ftpupload call?

2018-10-05 Thread David Hindley
Thanks, Gary. I think my problems with pysftp are something to do with using Wheezy on a RPi and ver 2.7 of Python. That seems to have an old version of pip, so I managed to update that to pip ver 18.0, but then pip shows several nasty looking errors when I try to install pysftp. The syslog is be

Re: [weewx-user] Re: Secure FTP from ftpupload call?

2018-10-04 Thread gjr80
I presume that your working passwordless ssh is from your WeatherPi machine. Which user on WeatherPi has passwordless ssh? If it is, for example, user pi and WeeWX is being run as root then I expect WeeWX rsync will fail with the error shown. You need to make sure that the account that runs Wee

Re: [weewx-user] Re: Secure FTP from ftpupload call?

2018-10-04 Thread dhindley
I have recently signed up to 1&1 to host my weather website and want to get weewx to upload files to it, allowing for the fact that they now use SFTP, not plain FTP, so I can't use the FTP weewx facility. I tried to use Matthew Wall's weew-sftp extension, but couldn't manage to get the python p

Re: [weewx-user] Re: Secure FTP from ftpupload call?

2017-10-23 Thread Andy
Rsync is same credentials as ssh for 1&1 -- 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://g

Re: [weewx-user] Re: Secure FTP from ftpupload call?

2017-10-22 Thread Robert Isbell
Andy and Geoff, I too am in the same position as Geoff. Is there a "Howto" somewhere for setting up rsync to work with 1&1. On Friday, October 6, 2017 at 3:18:29 PM UTC-7, Geoff Cusick wrote: > > Andy, > > I know this was a while back, but can you give me any pointers to setting > up rsync betw

Re: [weewx-user] Re: Secure FTP from ftpupload call?

2017-10-06 Thread Geoff Cusick
Andy, I know this was a while back, but can you give me any pointers to setting up rsync between weewx and a 1and1 server - they’ve recently disabled ‘ordinary’ ftp, and my website is stuck on 24 September. Any hints much appreciated. Thanks Geoff -- You received this message because you are