SFTP now supported

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

Moderator: Mattk

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

SFTP now supported

Post by admin » Fri Sep 29, 2017 9:51 am

Just released version of Meteobridge (and Meteobridge PRO) does allow to use secure FTP (SFTP) instead of less secure legacy FTP for uploading files. Syntax to use it is identical to FTP. We hide all the differences in how to handle that for you. SFTP is a file transfer protocol that is based on SSH and which is supported by a growing number of professional web space provider and virtual hosting companies. Meteobridge just supports password authentication. Key based authentication is not supported as this would need a more complicated handling, generating and exchanging keys, which can be a bit cumbersome if you are not familiar with that.

As the feature is brand new there might be some hick-ups. Please feel free to report your experiences in this thread.

See details and pictures in the release log: http://meteobridge.com/wiki/index.php/Forum

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

Re: SFTP now supported

Post by lrosenman » Sat Sep 30, 2017 1:18 am

Seems to NOT work.

-rw-r--r-- 1 wview wview 38924 Sep 29 17:54 MBtags.php
-rw-r--r-- 1 www wview 266 Sep 29 18:07 MBrealtime.txt
-rw-r--r-- 1 www wview 1547 Sep 29 18:07 MBrealtimegauges.txt

Image
Image
Image
Image
--
Larry Rosenman
Round Rock, TX USA
http://saratoga.lerctr.org

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

Re: SFTP now supported

Post by admin » Sat Sep 30, 2017 1:37 am

I can't see much on the screen shots.
please use "ftp://" prefix, not "sftp://" prefix. If you want to use FTP or SFTP is determines by the service you selected when initiating this upload service.

Can you please give me remote access and send credentials to "info(at)meteobridge.com"?

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

Re: SFTP now supported

Post by lrosenman » Sat Sep 30, 2017 1:40 am

I've tried it both ways.

The ssh access I setup before is still there.
--
Larry Rosenman
Round Rock, TX USA
http://saratoga.lerctr.org

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

Re: SFTP now supported

Post by lrosenman » Sat Sep 30, 2017 1:43 am

but mailed as well.
--
Larry Rosenman
Round Rock, TX USA
http://saratoga.lerctr.org

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

Re: SFTP now supported

Post by admin » Sat Sep 30, 2017 9:38 am

Thanks, I can login and found that dropbear ssh client on your DIR-505 reports password prompt a bit different than on other Meteobridge platforms. This causes the sshpass helper - which smuggles a password given on the command line into ssh login to circumvent key based login - not to realize that ssh requests a password and by that the whole ssh login process is stalled. I fixed sshpass to also trigger on the DIR-505 ssh password request and now it seems to work fine.

Todays build has that fix included.

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

Re: SFTP now supported

Post by lrosenman » Sun Oct 01, 2017 11:02 pm

Thanks. Working fine now. Appreciate it.
--
Larry Rosenman
Round Rock, TX USA
http://saratoga.lerctr.org

Post Reply