Topic ".NET library - Accept any Ssh HostKey not working"

Author Message



i want to use the .NET library just for getting the existing files in a remote folder and download them to a local folder. But I'm working on different servers and I don't know the exact SshHostKeyFingerprint. But I'm sure the connection is safe, because I have a direct link between PC and Server.

In the documentation of the SessionOption - class is a property called "GiveUpSecurityAndAcceptAnySshHostKey" ( but I can't use it, this property is not available in my IDE (VB2010) => It's not a member of "WINSCP.SessionOption"

I'm working with the SCP-protocol.

The version of my library is
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26858
Location: Prague, Czechia
The SessionOptions.GiveUpSecurityAndAcceptAnySshHostKey is available in the latest beta release only.

I have updated the documentation to make it clear.

You can post new topics in this forum


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