Also, I can put files into the /updates directory directly with the sftp command in the terminal. So I think it's a wyBuild issue.
Updated my server install to Ubuntu 20.4 and WyBuild can't connect to the server via SFTP anymore.
The error reads 'Couldn't connect to the remote server: Failed to establish the SSH session. Error code: -5
I can connect to that server with clients like WinSCP and Putty just fine.
Also, I can put files into the /updates directory directly with the sftp command in the terminal. So I think it's a wyBuild issue.
Maybe wyBuild is missing newer ciphers that would be present in Ubuntu 20.4?
From auth.log:
localost: Unable to negotiate with 47.185.92.149 port 51447: no matching key exchange method found. Their offer: diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1 [preauth]
Yup.
The fix on Ubuntu 20.4 is to add the line
KexAlgorithms +diffie-hellman-group1-sha1
to both /etc/ssh/ssh_config and /etc/ssh/sshd_config
This link explains the problem:
https://www.ibm.com/support/pages/ibm-aix-various-ssh-problems-after-upgrading-openssh-7x
The next version of wyBuild will have improved ciphersuites to connect to more strict SSH servers.
I'm having this same problem.
FTP with SSL is not a standard. SSH is.
If it has option for FTP with SSL, it wouldn't be bad, might as well make the software better.
FTP is a dead technology. It's been covered in this forum. SSH is the preferred open-standard file-upload method.