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

Author Message
BigFranz

Guest


Hello,

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" (https://winscp.net/eng/docs/library_sessionoptions#properties) 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 1.0.7.3394.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
The SessionOptions.GiveUpSecurityAndAcceptAnySshHostKey is available in the latest beta release only.

I have updated the documentation to make it clear.
https://winscp.net/eng/docs/library_sessionoptions#properties
_________________
Martin Prikryl
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