Topic "Another way to provide WinSCP Host Key information?"

Author Message



I have the following problem:

I am running a web application, which uses WinSCP to transfer files.
I didn't get a set of pre-defined hosts.

The script runs fine (calling WinSCP in batch mode), except the first authentication, where the user has to verify the
host SSH key.

I searched for another option to provide WinSCP the Host Key information. Therefore the user has to enter the key file in a Web Form, and the script stores it in the INI file of WinSCP.

Unfortunately this doesn't work, because WinSCP codes the Host Key Information in another format. I tried several ways to convert the entered information, but I didn't it figure out.

Maybe I can pass the information to WinSCP in another way or is there a tool to convert the information into the correct format?
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24736
Location: Prague, Czechia
Sorry, there's no other way, yet. Maybe in the next version.
Martin Prikryl

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License