Re: patch - ssh2 keyboard authentication

From: Date: Tue, 20 Oct 2009 20:31:30 +0000
Subject: Re: patch - ssh2 keyboard authentication
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-6718@lists.php.net to get a copy of this message
hi, Please open a bug report and add a link to your patch (not some temporary host like pastebin, if possible). Cheers, On Fri, Feb 20, 2009 at 5:09 AM, Nathan Nobbe <quickshiftin@gmail.com> wrote: > hi, > > i have written a patch for the ssh2 extension to add support for keyboard > interactive authentication. > > this seems to be the most common method of authentication for ssh2 and i was > quite surprised to see it absent. > > this adds another function to the extension, ssh2_auth_keyboard(), which > works, just like the other auth functions. > > $ssh2h = ssh2_connect($host); > /// attempt to authenticate > if($ssh2h) { >         if(ssh2_auth_keyboard($ssh2h, $user, $pass)) >           echo 'authed via keyboard interactive!' . PHP_EOL; > > the patch is attached, or you can view it on pastebin, > > http://pastebin.com/m6f19e4f9 > > your comments appreciated, > > -nathan > > -- > PECL development discussion Mailing List (http://pecl.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- Pierre http://blog.thepimp.net | http://www.libgd.org

« previous php.pecl.dev (#6718) next »