libssh2_userauth_keyboard_interactive Error

Get help for specific problems
Posts: 1
Joined: 23 Mar 2025

Axrdz

My university requires a two-factor authentication method. Would anyone know how to create an input method for this?
Cannot determine final path for "XXXXXXX".

LIBSSH2_ERROR_AUTHENTICATION_FAILED: Authentication failed (keyboard-interactive) [libssh2_userauth_keyboard_interactive]
Unexpected prompts: Duo two-factor login for XXX

Enter a passcode or select one of the following options:

 1. Duo Push to XXX-XXX-XXXX
 2. Phone call to XXX-XXX-XXXX
 3. SMS passcodes to XXX-XXX-XXXX

Passcode or option (1-3):
Thank you for any help!