SFTP Connections Failing

Please post here if you have problems in using Wing FTP Server.
Post Reply
VICITSupport
Posts: 1
Joined: Mon Sep 25, 2023 1:32 pm

SFTP Connections Failing

Post by VICITSupport »

Hi,

I'm trying to connect from a WS_FTP Pro (v.12.9)client to WingFTP server (v6.0.7) using SFTP. I'm this error on the client:

Server Welcome: SSH-2.0-WingFTPServer
Client Version: SSH-2.0-WS_FTP-12.9.0-0
SSH Error server-signature prefix begins with "ssh-rsa" instead of "rsa-sha2-512"
SSH Warning, no signature prefix. Assuming server sent simple blob.
SSH RSA Error 67702903 verifying RSA Signature
Failed SSH Key Exchange
SSH Transport closed.

Our ssh host key on the WIngFTP server starts with:

-----BEGIN RSA PRIVATE KEY-----

How can I fix this?

Thanks!
FTP
Site Admin
Posts: 2080
Joined: Tue Sep 29, 2009 6:09 am

Re: SFTP Connections Failing

Post by FTP »

OK, maybe you can try the different SFTP algorithms. Just stop the WingFTP service and modify the file "Data/settings.xml", replace the line 40:

<SFTPHostKey>rsa-sha2-512,ssh-rsa,rsa-sha2-256,ecdsa-sha2-nistp256</SFTPHostKey>

into:

<SFTPHostKey>rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256</SFTPHostKey>


Then start the WingFTP service again and check the result.
Post Reply