Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: .NET library - Accept any Ssh HostKey not working

Make sure you have the latest version of WinSCP. The SessionOptions.GiveUpSecurityAndAcceptAnySshHostKey is available since WinSCP 5.2.
BigFranz

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