php.net |  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
Votes:2
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
Description:
------------
It would be great if support for keyboard interactive 
authentication could be added to the package. Perhaps as new 
method ssh2_auth_keyboard? 




Patches

Pull Requests

History

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

From http://www.libssh2.org/libssh2_userauth_keyboard_interactive.html:
#include <libssh2.h>

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

Regards
Florian Roscher
 [2012-06-20 14:24 UTC] langemeijer@php.net
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 
open.
 [2013-08-06 08:12 UTC] yohgaki@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: yohgaki
 [2013-08-06 08:12 UTC] yohgaki@php.net
> 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 Dec 22 06:01:30 2024 UTC