scp/sftp in addition to ftp?

all about Meteohub on the new Raspberry PI platform

Moderator: Mattk

Post Reply
lrosenman
Senior Boarder
Senior Boarder
Posts: 72
Joined: Thu Jul 31, 2014 8:13 pm
Contact:

scp/sftp in addition to ftp?

Post by lrosenman »

Are there plans to support scp / sftp for the website updates in addition to ftp?

I'd like to see this so I don't have to run ftpd on my server......
--
Larry Rosenman
Round Rock, TX USA
http://sienawx.com
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: scp/sftp in addition to ftp?

Post by admin »

no
lrosenman
Senior Boarder
Senior Boarder
Posts: 72
Joined: Thu Jul 31, 2014 8:13 pm
Contact:

Re: scp/sftp in addition to ftp?

Post by lrosenman »

That's unfortunate.

It would be much more secure than password in the clear ftp. :(
--
Larry Rosenman
Round Rock, TX USA
http://sienawx.com
joachimF
Junior Boarder
Junior Boarder
Posts: 34
Joined: Sun Jun 29, 2014 11:09 pm
Location: 83570 Carces France
Contact:

Re: scp/sftp in addition to ftp?

Post by joachimF »

Hi,

I have not tried it with meteohub but with weewx and wview.
You made a local copy of all your files in "/data/myweb/uploads/"

With crontab and rsync you can upload the files with ssh.
this is the weewx crontab example
1,6,11,16,21,26,31,36,41,46,51,56 * * * * /usr/bin/rsync -avze ssh /var/www/weewx/ user@dorado.uberspace.de:/var/www/weewx

In the wview-user-manual (another weather software) you find in chapter 6 the secure file transfer instruction.
Best Regards
Joachim

http://www.puttkammer.de
lrosenman
Senior Boarder
Senior Boarder
Posts: 72
Joined: Thu Jul 31, 2014 8:13 pm
Contact:

Re: scp/sftp in addition to ftp?

Post by lrosenman »

yeah, that would work, but I really think that Boris should support it in the SW.
--
Larry Rosenman
Round Rock, TX USA
http://sienawx.com
Post Reply