Skip to content

Type Alias: KeyboardInteractiveHandler ​

ts
type KeyboardInteractiveHandler = (challenge) => readonly string[] | Promise<readonly string[]>;

Defined in: netconf/src/transport/ssh.ts:121

Answers a keyboard-interactive challenge: one answer per prompt, in order. It may be called more than once per login (one challenge per round). A handler that throws ends authentication with an AuthenticationError.

Parameters ​

challenge ​

KeyboardInteractiveChallenge

Returns ​

readonly string[] | Promise<readonly string[]>

Released under the MIT Licence.