Description of problem:
The commit/patch at
https://github.com/openssh/openssh-portable/commit/2985d4062ebf4204bbd373456a810d558698f9f5
was never picked up and merged, and now that WinSCP has recently released version 5.11(.x), this is causing problems when wanting to use this WinSCP version to connect to an ssh server running on Fedora 25, 26 and 27 that is configured to only accept diffie-hellman-group-exchange-sha256, using this setting in sshd_config:
KexAlgorithms diffie-hellman-group-exchange-sha256
Version-Release number of selected component (if applicable):
7.4p1-4.fc25
7.5p1-3.fc26
7.5p1-5.fc27
How reproducible:
Always
Steps to reproduce:
1. In sshd_config, configure: KexAlgorithms diffie-hellman-group-exchange-sha256
2. Connect with WinSCP version 5.11.1 to the ssh server
Actual results:
WinSCP cannot connect, and sshd logs the following message:
fatal: No supported key exchange algorithms found [preauth]
Expected results:
This should connect fine with the configured key-exchange algorithm.
Additional info:
With the above setting, the client cannot connect at all and when commenting it out, however, it then causes the ssh server to erroneously force a weaker key-exchange (diffie-hellman-group14-sha1) on the user.
This was reported to WinSCP itself: https://winscp.net/forum/viewtopic.php?t=25354
This was also reported to Debian (added as External Bug).
Comment 1Fedora Update System
2017-11-22 09:06:15 UTC