\ini= in .NET (Saved keys)?

Advertisement

josegrande
Joined:
Posts:
7

\ini= in .NET (Saved keys)?

Hi, Martin.

The last couple weeks I wrote some batch scripts that winscp winSCP.com to automate some things. Doing so I learned the there was a parameter for ini, which would load in saved SSH keys from either the registry or a specified .ini file.

I am writing a program in C# using the .NET .DLL to handle SFTP now. I am not seeing where I set the ini file property (if there is one).

Is there a way, or should I manually read from the registry to import the keys?

We are deploying this to our employees and we do not want them to have access to accepting unknown host keys, nor do we want them connecting to unknown host keys.

the Batch COM script was great because I was able to import the registry keys to computers and them WinSCP would find and use them.

Reply with quote

Advertisement

Advertisement

You cannot post new topics in this forum