Subject: Re: AW: Fail to login with libshh2

Re: AW: Fail to login with libshh2

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 28 Oct 2010 16:03:51 -0700

On Thu, Oct 28, 2010 at 03:28:07PM -0700, SIFE Abdelrazak wrote:
> I found the type of authentication is keyboard-interactive, Now I am in
> documentation and I see this protype function:
>
> #include <libssh2.h>
>
> int libssh2_userauth_keyboard_interactive_ex(LIBSSH2_SESSION *session, const
> char *username, unsigned int username_len,
> LIBSSH2_USERAUTH_KBDINT_RESPONSE_FUNC(*response_callback));
>
> What is LIBSSH2_USERAUTH_KBDINT_RESPONSE_FUNC, and how I can set it?

It's documented in the man page for libssh2_userauth_keyboard_interactive_ex.

>>> Dan
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-10-29