It really works! I tested using -hostkey=*
Thanks for sharing your solution.
Should you please describe what techniques your example show that were not already included in existing WinSCP documentation? What is wrong about existing VB example?
I could identify "new" code that extracts host key fingerprint and pass it to
First, I want to make clear to other users that using this technique breaks any security and should be avoided whenever possible. Moreover it is deprecated as since WinSCP 5.2, you can use
-hostkey=*, if you do not care about security.
Other than that I could not identify much difference to existing examples.
Also note that I do not recommend using freeSSHd, as this software has not been updated for 5 years already.