Page 1 of 1
SFTP now supported
Posted: Fri Sep 29, 2017 9:51 am
by admin
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
Re: SFTP now supported
Posted: Sat Sep 30, 2017 1:18 am
by lrosenman
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

Re: SFTP now supported
Posted: Sat Sep 30, 2017 1:37 am
by admin
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"?
Re: SFTP now supported
Posted: Sat Sep 30, 2017 1:40 am
by lrosenman
I've tried it both ways.
The ssh access I setup before is still there.
Re: SFTP now supported
Posted: Sat Sep 30, 2017 1:43 am
by lrosenman
but mailed as well.
Re: SFTP now supported
Posted: Sat Sep 30, 2017 9:38 am
by admin
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.
Re: SFTP now supported
Posted: Sun Oct 01, 2017 11:02 pm
by lrosenman
Thanks. Working fine now. Appreciate it.