|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #58928 Support for keyboard interactive authentication
Submitted: 2009-10-29 10:46 UTC Modified: 2013-08-06 08:12 UTC
Avg. Score:4.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:1 (50.0%)
From: mlutter at a2c dot de Assigned: yohgaki (profile)
Status: Closed Package: ssh2 (PECL)
PHP Version: Irrelevant OS: All
Private report: No CVE-ID: None
 [2009-10-29 10:46 UTC] mlutter at a2c dot de
It would be great if support for keyboard interactive 
authentication could be added to the package. Perhaps as new 
method ssh2_auth_keyboard? 


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-11-16 14:43 UTC] mail at it-roscher dot biz
As an addition: libssl2 does have that feature.

#include <libssh2.h>

int libssh2_userauth_keyboard_interactive(LIBSSH2_SESSION* session,   const char *username,   LIBSSH2_USERAUTH_KBDINT_RESPONSE_FUNC((*response_callback))); 

Florian Roscher
 [2012-06-20 14:24 UTC]
ssh2_auth_password() now uses keyboard interactive authentication if it is 
available on the server. It just sends the password.

Only available in SVN right now.

This is not keyboard interactive authentication to it's fullest. This feature 
request for a ssh2_auth_interactive() function that should accept a callback 
function as a parameter to do actual challenge-response authentication is still 
 [2013-08-06 08:12 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: yohgaki
 [2013-08-06 08:12 UTC]
> Only available in SVN right now.

I suppose this can be closed. If not, please reopen.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jul 14 05:01:30 2024 UTC