SSH2: keyboard-interactive changes
SSH2: keyboard-interactive changes

Let's say your SSH server had a two-part keyboard-interactive auth. One prompt is for "Password" and the other is for "Verification code". Previously you'd have to do this:

$ssh->login($username, 'pass1', 'code1');

It'd try password authentication with pass1, fail, then do keyboard-interactive with pass1 and then keyboard-interacitve with code1.

ie. the order in which it tried stuff was dependent on the order it was past to the Net_SSH2 object.  And it'd always try password auth first.

Now you can go straight to keyboard-interactive and mix the order as follows:

$ssh->login($username, array('Password' => 'pass1'), array('Verification code' => 'code1'));

melya/phpseclib,kenichiii/phpseclib,melya/phpseclib,thaigialai1987/phpseclib,terrafrost/phpseclib,splitice/phpseclib,metaclassing/phpseclib,danog/phpseclib,creatuity/phpseclib,phpseclib/phpseclib,paragonie-scott/phpseclib,thaigialai1987/phpseclib,kenichiii/phpseclib,danog/phpseclib,creatuity/phpseclib,phpseclib/phpseclib-php5,phpseclib/phpseclib-php5,paragonie-scott/phpseclib,splitice/phpseclib,ericariyanto/phpseclib,ericariyanto/phpseclib,metaclassing/phpseclib