Table of Contents

Enum UpdateHostKeys

Namespace
SshSharp.Config
Assembly
SshSharp.dll

The UpdateHostKeys setting: whether known_hosts follows the host keys a server announces after login.

public enum UpdateHostKeys

Fields

Ask = 2

Ask before changing known_hosts; without a way to ask, leave it.

No = 0

Leave known_hosts as it is (also when the setting is absent).

Yes = 1

Add the server's new keys and remove the ones it no longer has.