Table of Contents

Method ForCurrentUser

Namespace
SshSharp
Assembly
SshSharp.dll

ForCurrentUser(StrictHostKeyChecking)

The user's ~/.ssh/known_hosts and known_hosts2, plus the system-wide files, as ssh uses by default.

public static KnownHostsVerifier ForCurrentUser(StrictHostKeyChecking policy = StrictHostKeyChecking.Ask)

Parameters

policy StrictHostKeyChecking

Returns

KnownHostsVerifier