Page 1 of 1

Setup for SFTP

Posted: Sun Apr 01, 2018 5:26 pm
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?

Re: Setup for SFTP

Posted: Sun Apr 01, 2018 6:27 pm
by admin
Please post screen dumps of the settings you use. The error will be in there.

Re: Setup for SFTP

Posted: Mon Apr 02, 2018 9:37 am
by AlVista
Here's the attachment I get after pressing Save then Test SFTP

Re: Setup for SFTP

Posted: Mon Apr 02, 2018 10:59 pm
by admin
SFTP on port 21 is not a great idea ;-)

Re: Setup for SFTP

Posted: Tue Apr 03, 2018 12:20 am
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?

Re: Setup for SFTP

Posted: Tue Apr 03, 2018 8:42 am
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