Push services through SSH/SCP

All about the standard Meteobridge devices based on mobile routers from TP-Link, D-Link, ASUS

Moderator: Mattk

Post Reply
Medor
Junior Boarder
Junior Boarder
Posts: 31
Joined: Sun Apr 21, 2013 10:00 pm

Push services through SSH/SCP

Post 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
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: Push services through SSH/SCP

Post 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.
Medor
Junior Boarder
Junior Boarder
Posts: 31
Joined: Sun Apr 21, 2013 10:00 pm

Re: Push services through SSH/SCP

Post by Medor »

Ok, I'll read the doc to understand where the HTTP GET should fetch the meteobridge data.
Post Reply