.NET library - Accept any Ssh HostKey not working

Advertisement

BigFranz
Guest

.NET library - Accept any Ssh HostKey not working

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#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 1.0.7.3394.

Reply with quote

Advertisement

You can post new topics in this forum