The service needs to have write access to HKEY_CURRENT_USER. Also I suppose you have Session.DefaultConfiguration set to false. Anyway, this is not supported scenario. You should set the SessionOptions.SshHostKey.
Hello,
Thank you very much for WinSCP, it is a great tool.
We are successfully using the WinSCP.dll on the local machine which runs under the user IIS. When running from the application server under "Network Service" the hostkey for the server we want to communicate with is not caching (not regestering in cache). Is there some kind of security/permission setting we need to change on the server for "Network Service"? We are running the 3.5 version of the .NET framework.
Thanks for your time,
Joel