Skip to content

Type Alias: AuthenticationReason ​

ts
type AuthenticationReason = "refused" | "key" | "prompt";

Defined in: netconf/src/errors.ts:71

Why authentication failed: 'refused', the server rejected our credentials (or ended authentication); 'key', our own private key couldn't be read or decrypted (wrong or missing passphrase), so nothing was sent to the server; 'prompt', the server asked a keyboard-interactive question the password can't answer (pass keyboardInteractive to answer it).

Released under the MIT Licence.