Table of Contents

Class SshAddKeyToAgentPrompt

Namespace
SshSharp
Assembly
SshSharp.dll

A key about to be added to the agent under ssh_config's AddKeysToAgent ask, passed to ConfirmAddKeyToAgent. It carries what ssh's prompt shows ("Add key file (comment) to agent?"), and the key's fingerprint.

public sealed class SshAddKeyToAgentPrompt
Inheritance
SshAddKeyToAgentPrompt
Inherited Members

Properties

Comment

The key's comment from the file, or null when it has none.

Fingerprint

The key's SHA-256 fingerprint, as ssh-add -l shows it (SHA256:...).

Host

The host the key was just accepted by (its HostName).

IdentityFile

The path of the IdentityFile the key was loaded from.