Table of Contents

Property ConfirmHostKeyUpdate

Namespace
SshSharp
Assembly
SshSharp.dll

ConfirmHostKeyUpdate

Asked before known_hosts is changed by UpdateHostKeys (ssh's UpdateHostKeys ask): return true to apply the update. Without it, updates are applied without asking (UpdateHostKeys yes).

public Func<SshHostKeyUpdate, CancellationToken, ValueTask<bool>>? ConfirmHostKeyUpdate { get; init; }

Property Value

Func<SshHostKeyUpdate, CancellationToken, ValueTask<bool>>