Topic "GETTING CLIENT MACHINE TO CACHE HOSTKEY THROUGH SCRIPTING"

Author Message
slo4bru
[View user's profile]

Joined: 2010-08-03
Posts: 1
Hello:

I have a winscp process that uses C# script on client side to attach to an SFTP server and send through files. All is working well except I have to send host key through by script on every logon. Is there a way to cache the hostkey to the clients machine on the first logon? There is no user interaction during this process BTW.

Thanks!
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
You can store the host key to the cache in registry before runing the script. Or you can use INI file instead.
Advertisements

You can post new topics in this forum






Search Site

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License