Could not negotiate key exchange algorithm. - WeOnlyDo Discussion board

Could not negotiate key exchange algorithm. (wodSFTP / wodSFTP.NET / wodSFTPdll)

by Joseph Johns, Monday, October 23, 2023, 21:26 (187 days ago)

I am attempting to use we only do sftp.net in a 4.7.1 application. As such we are using the .net 2.0 dlls. We are unable to update to using .net framework 4.8 due to other requirements. When we attempt to connect to an sftp server we get an error "Could not negotiate key exchange algorithm.". I built a test app doing the minimal required actions to connect to an sftp server. When using the .net 4.0 dlls in the test app with the framework set to 4.8, the connection proceeds as expected. When we use the .net 2.0 dlls regardless of .net framework target the "Could not negotiate key exchange algorithm." is generated. I can only assume I am missing some dependency, but I don't know what it could be. I have the .net 3.5 runtimes installed. The primary application we are running is x64, but I have tried the test app in both x86 and x64 with no success. Do you have any ideas as to possible solutions.

This is with the current version 3.7.2.


Complete thread: