PHP Secure Communications Library
Go to file
terrafrost e0abab9bb4 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'));
2013-04-20 14:35:08 -05:00
phpseclib SSH2: keyboard-interactive changes 2013-04-20 14:35:08 -05:00
tests [coverage-html] Add comment to expect installation. 2013-01-16 23:44:29 +01:00
.gitattributes added build status and extra lines 2012-06-11 02:30:46 -06:00
.gitignore added build status and extra lines 2012-06-11 02:30:46 -06:00
.travis.yml [coverage-text] Generate text code coverage report for output on travis console. 2013-01-17 17:09:36 +01:00
AUTHORS AUTHORS: add more developers 2013-03-11 16:36:27 -05:00
composer.json SSH2: Be less overly clever loading Crypt/Random 2013-04-01 12:29:28 -04:00
LICENSE Add AUTHORS and LICENSE files 2012-12-11 01:16:08 -06:00
phpunit.xml.dist [feature/phpunit] Add phpunit configuration and bootstrapping. 2012-06-06 13:07:36 +02:00
README.md [coverage-html] Add code coverage report link to readme. 2013-01-16 23:29:15 +01:00

phpseclib - PHP Secure Communications Library

Build Status

MIT-licensed pure-PHP implementations of an arbitrary-precision integer arithmetic library, fully PKCS#1 (v2.1) compliant RSA, DES, 3DES, RC4, Rijndael, AES, SSH-1, SSH-2, SFTP, and X.509

PEAR Channel PEAR Channel: [phpseclib.sourceforge.net](http://phpseclib.sourceforge.net/pear.htm)