Property KeyboardInteractive
- Namespace
- SshSharp
- Assembly
- SshSharp.dll
KeyboardInteractive
Answers keyboard-interactive authentication (RFC 4256): one-time codes, PAM prompts, or a password the server asks for this way. Called once per round with the server's questions; return one answer per prompt, or null to give up on the method. Tried after PrivateKeys and before Password, like ssh. Unlike PasswordProvider, the method is not retried after the server refuses the answers: it is tried once per walk of the authentication order.
public Func<SshKeyboardInteractiveRequest, CancellationToken, ValueTask<IReadOnlyList<string>?>>? KeyboardInteractive { get; init; }