WinSCPnet.dll with WinScp632 give does not match pattern error
Hi, I have a Visual C++ program that has been in use for years. It has embedded calls to WinSCP functions. I currently use WinSCP version 5.7.7. I package the WinSCP.exe and WinSCPnet.dll with the delivery and have them both in the same location. The program connects to a Linux server. All has been working well for years but now the server was upgraded to Red Hat 8 and I get a "Couldn't agree on a host key algorithm" message. According to research the only way to fix this is to upgrade WinSCP. I've downloaded and placed the WinSCP.exe and WinSCPnet.dll (version 6.3.2) in the same location as the old one. I can run WinSCP.exe and can not connect to the server, however, my program which uses the DLL can not connect. The error I get is that it does not like the pattern of the new key fingerprint. It wants it to start with ssh-rsa or ssh-dss but the new fingerprint generated when I run WinSCP.exe starts with edcsa-sha2.... I downloaded the WinSCP-6.3.2-Automation.zip file and used the file in the main directory. Not sure what is going on