HTML template update via remote admin

Discussion of the Meteohub software package

Moderator: Mattk

Post Reply
jlavery
Fresh Boarder
Fresh Boarder
Posts: 11
Joined: Fri Oct 09, 2009 11:47 pm

HTML template update via remote admin

Post by jlavery »

I've got my Meteohub up and running really well on my NSLU2 at our sailing club. :)

I have also set up dynamic dns and port forwarding etc. so that I can manage it remotely. :) :)

With this setup, is it possible to remotely upload HTML templates to the device, so that they can then be uploaded to our website?

I know I can set up the templates via the local LAN via the samba share (which is what I did when testing it locally at home), but can't see how to do it remotely.

TIA,

James
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7879
Joined: Mon Oct 01, 2007 10:51 pm

Re:HTML template update via remote admin

Post by admin »

I would recommend to upload templates remote via ssh (putty). This will need port 22 open. user is root, standrad pw is meteohub.

Regards,
Boris
jlavery
Fresh Boarder
Fresh Boarder
Posts: 11
Joined: Fri Oct 09, 2009 11:47 pm

Re:HTML template update via remote admin

Post by jlavery »

Hi Boris,
Thanks - that's an obvious solution! However, I'm being a bit stupid here, as how - using puty - can I then transfer the files?

I can enter command line commands to administer the server, and change directory to the /data directory, but how do I actually do the transfer? Won't I need an FTP server running on the slug?

Thanks,

James
skyewright
Platinum Boarder
Platinum Boarder
Posts: 873
Joined: Fri Jan 25, 2008 6:27 pm
Location: Isle of Skye, Scotland

Re:HTML template update via remote admin

Post by skyewright »

jlavery wrote:using puty - can I then transfer the files?
Another part of the PuTTY package can apparently handle file transfer. I've not used it, but here's a link to a very brief tutorial:

http://www2.cit.cornell.edu/services/sy ... putty.html
wfpost
Platinum Boarder
Platinum Boarder
Posts: 591
Joined: Thu Jun 12, 2008 2:24 pm
Location: HONSOLGEN
Contact:

Re:HTML template update via remote admin

Post by wfpost »

User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7879
Joined: Mon Oct 01, 2007 10:51 pm

Re:HTML template update via remote admin

Post by admin »

yep, ssh protocol can be used to transfer files as well. Many ssh clients have ssh based file transfer somehow included. winscp might be the easiest way for windows, on Linux I simply use scp.
jlavery
Fresh Boarder
Fresh Boarder
Posts: 11
Joined: Fri Oct 09, 2009 11:47 pm

Re:HTML template update via remote admin

Post by jlavery »

Thanks - WINSCP is perfect for my needs! :)

Regards,

James
Post Reply