Hostkey note Caching for WinSCP.dll

Advertisement

joelignall
Joined:
Posts:
9
Location:
Work

Hostkey note Caching for WinSCP.dll

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

Reply with quote E-mail

martin
Site Admin
martin avatar
Joined:
Posts:
27,253
Location:
Prague, Czechia

Re: Hostkey note Caching for WinSCP.dll

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.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum