Topic "Host key Unverified"

Author Message
[View user's profile]

Joined: 2012-03-07
Posts: 1
I have tried with mixed success to connect to several severs using the winscp assembly.
I occasionally run into servers when trying to connect I get error Host Key Unverified.
i had used Session.DefaultConfiguration = False on my session but that does not work every server.
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26330
Location: Prague, Czechia
Use SessionOptions.HostKey to set expected host key.

Using Session.DefaultConfiguration is not recommended.
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