cmd-sync-servers - v1.0.0
    Preparing search index...

    Interface HostKeyPolicyExperimental

    How a connection decides whether to trust the host key it is offered.

    interface HostKeyPolicy {
        confirm?: (info: HostKeyInfo) => Promise<HostKeyDecision>;
        expected?: string;
        pin?: (info: HostKeyInfo) => Promise<void>;
        pinned: PinnedHostKey | undefined;
    }
    Index
    confirm?: (info: HostKeyInfo) => Promise<HostKeyDecision>

    Asks a person about a new key; absent when nobody can be asked.

    expected?: string

    A fingerprint given for unattended runs (--host-key SHA256:...).

    pin?: (info: HostKeyInfo) => Promise<void>

    Stores a key the person chose to pin.

    pinned: PinnedHostKey | undefined

    The key pinned for this server, if any.