Re: patch - ssh2 keyboard authentication

From: Date: Tue, 20 Oct 2009 16:45:52 +0000
Subject: Re: patch - ssh2 keyboard authentication
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-6717@lists.php.net to get a copy of this message
Hi Where can I get the path Manfred quickshiftin 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 > -- View this message in context: http://www.nabble.com/patch---ssh2-keyboard-authentication-tp22114062p25978551.html Sent from the Pecl - Dev mailing list archive at Nabble.com.

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