Topic "Automating with .ini how to get the ssh certificate"

Author Message
John Elia
[View user's profile]
Donor
Joined: 2015-06-22
Posts: 5
Location: Long Island, NY
I'm looking to automate sending results from my sql database to an sftp server. When I manually test I have to accept and get the SSL key. My sql database can't do that, so I'm going to use an INI file. How to I get the ssl key from my regestry to the ini file?

Embarassed
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
In GUI go to Server and Protocol Information dialog to find certificate fingerprint
https://winscp.net/eng/docs/ui_fsinfo

Then use a -certificate switch in your script:
https://winscp.net/eng/docs/scripting#hostkey
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