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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
30 - 26 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Wed Apr 24 01:01:31 2024 UTC