Setup for SFTP

This section covers the Meteobridge PRO, PRO2, NANO SD, Raspberry Pi and VM platforms exclusively

Moderator: Mattk

Post Reply
AlVista
Fresh Boarder
Fresh Boarder
Posts: 9
Joined: Tue Aug 30, 2016 9:50 am

Setup for SFTP

Post by AlVista »

Hi, i am trying to set up sftp to allow Meteobridge Pro to send template-based reports to my iMac, which is running High Sierra, and is on the same local network as the Meteobridge. I can see the Meteobridge screen in my browser, and remorte access via ssh and sftp are running on the Mac for all users. I have entered the IP address of the Mac (192.168.1.10, which is static), my username and password, and a folder location in the form "/Users/iMac/Documents/Weather". However, I just get an error message saying "Error: SFTP test upload failed: Couldn't read packet: Connection reset by peer". Can you tell me where I am going wrong, please?
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: Setup for SFTP

Post by admin »

Please post screen dumps of the settings you use. The error will be in there.
AlVista
Fresh Boarder
Fresh Boarder
Posts: 9
Joined: Tue Aug 30, 2016 9:50 am

Re: Setup for SFTP

Post by AlVista »

Here's the attachment I get after pressing Save then Test SFTP
Attachments
Screen Shot 2018-04-02 at 08.34.26.png
Screen Shot 2018-04-02 at 08.34.26.png (297.79 KiB) Viewed 2590 times
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: Setup for SFTP

Post by admin »

SFTP on port 21 is not a great idea ;-)
AlVista
Fresh Boarder
Fresh Boarder
Posts: 9
Joined: Tue Aug 30, 2016 9:50 am

Re: Setup for SFTP

Post by AlVista »

I am interested in weather, not computers! You may not realise how little some of your users know about these settings, and indeed how incomplete are your published instructions!
So if port 21 (the default) is not a good idea, is it the cause of the failure, and what would be a good idea?
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: Setup for SFTP

Post by admin »

Standard port for FTP is 21, for SSH and SFTP (which is a protocol based on SSH) it is 22.
Google would have told you on first try ;-)
https://serverfault.com/questions/74176 ... s-sftp-use
Post Reply