SFTP, Remote side unexpectedly closed network connection

Advertisement

JohnWis
Guest

SFTP, Remote side unexpectedly closed network connection

WinSCP version 5.17.6
Worked with version 5.9.3
Windows server 2016 (in Citrix)
SFTP
Using the GUI
Error:
Remote side unexpectedly closed network connection
or:
Network error: Software caused connection abort
When setting up a connection to a Linux server, an error occur, connection can't be establised.
With the old version of WinSCP there is no issue to connect to these Linux servers, It is not 1 server but a pool of servers not working.
The WinSCP client (old en new) are running on a XenApp environment.
Description: 3 sessions, all failed but with 2 different messages

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
36,250
Location:
Prague, Czechia

Re: SFTP, Remote side unexpectedly closed network connection

Can you post a log file of a successful session from the old version of WinSCP?

Reply with quote

martin
Site Admin
martin avatar

Re: SFTP, Remote side unexpectedly closed network connection

Thanks for the log. It didn't reveal anything useful though. Did you have an access to server-side logs? Don't you need to whitelist the new version somehow in your "XenApp environment"?

Reply with quote

JohnWis
Guest

SFTP, Remote side unexpectedly closed network connection

The log file from the linux server gives this message:
2020-09-23T10:47:35.129652+02:00 TController-Databus01-P-ACC sshd[348917]: fatal: No supported key exchange algorithms found [preauth]
Sshd_config server
Ciphers aes128-ctr,aes192-ctr,aes256-ctr
KexAlgorithms diffie-hellman-group-exchange-sha256
MACs hmac-sha2-256,hmac-sha2-512
And WinSCP should support this, but is this still in the current release
https://winscp.net/eng/docs/tls_ciphersuites

Reply with quote

Advertisement

JohnWis
Guest

SFTP, Remote side unexpectedly closed network connection

We already did

Version 5.9.3 ok
Version 5.10 Nok
Version 5.17.6 Nok

Do you want us to try the versions between 5.9.3 and 5.10?

Reply with quote

martin
Site Admin
martin avatar

Re: SFTP, Remote side unexpectedly closed network connection

JohnWis wrote:

Do you want us to try the versions between 5.9.3 and 5.10?
Yes please.

Reply with quote

JohnWis
Guest

SFTP, Remote side unexpectedly closed network connection

Tested again
Version 5.9.6 is OK
Version 5.10.4.RC NOK
Version 5.11 is NOK

So there is a difference after version 5.9.6

Reply with quote

Advertisement

JohnWis
Guest

Re: SFTP, Remote side unexpectedly closed network connection

What should we do to analyse or solve if this is the problem we have.

Reply with quote

martin
Site Admin
martin avatar

Re: SFTP, Remote side unexpectedly closed network connection

Upgrade your OpenSSH installation.
Or, if you register, I can send you a copy of WinSCP that does not trigger the wrong rule.

Reply with quote

JohnWis
Joined:
Posts:
2

Re: SFTP, Remote side unexpectedly closed network connection

I just registered, can you send me a copy of WinSCP that does not trigger the wrong rule.

Reply with quote

Advertisement

JohnWis

Re: SFTP, Remote side unexpectedly closed network connection

Hello, in the past I get from you a changed version of WinSCP without the issue, can you give us a new updated mobile version without the issue?

Reply with quote

martin
Site Admin
martin avatar

Re: SFTP, Remote side unexpectedly closed network connection

I have sent you the modified version only for your "analysis", if you indeed suffer from the referenced problem. It was not meant to be a solution. The solution is to upgrade your OpenSSH installation.

Reply with quote

Emma 1989
Guest

Re: SFTP, Remote side unexpectedly closed network connection

martin wrote:

Upgrade your OpenSSH installation.
Or, if you register, I can send you a copy of WinSCP that does not trigger the wrong rule.
Can you please send this to me also I cannot get it to work for me at all- emma181111@hotmail.com

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
36,250
Location:
Prague, Czechia

Re: SFTP, Remote side unexpectedly closed network connection

@Emma1989: See my answer to @JohnWis above:
I have sent you the modified version only for your "analysis", if you indeed suffer from the referenced problem. It was not meant to be a solution. The solution is to upgrade your OpenSSH installation.

Reply with quote

Advertisement

You can post new topics in this forum