Topic "Hostkey note Caching for WinSCP.dll"

Author Message
[View user's profile]

Joined: 2011-11-16
Posts: 9
Location: Work

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,
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26858
Location: Prague, Czechia
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

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License