Page 1 of 1

Push services through SSH/SCP

Posted: Sun Apr 21, 2013 10:11 pm
by Medor
Hi all,
I am finishing the installation of Meteobridge on my TP-Link TL-MR3020; great little machine !

I want to push data to my own private server, accessible only by SSH with an RSA key (no FTP).
I see that the Openwrt side has SCP installed, which would allow me I suppose to define a cron job to push data periodically. Is there an easy way to setup such a mechanism : what I would like to know is, where is the data, what does it look like, etc...

Medor

Re: Push services through SSH/SCP

Posted: Sun Apr 21, 2013 11:28 pm
by admin
Handling the certificates will be a user support nightmare, so I don't offer this.

As an alternative setup a tiny cgi on your webserver that receives data via HTTP get.
Meteobridge can feed any data via that way.

Re: Push services through SSH/SCP

Posted: Mon Apr 22, 2013 5:10 am
by Medor
Ok, I'll read the doc to understand where the HTTP GET should fetch the meteobridge data.