mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-27 19:54:57 +00:00
PHP Secure Communications Library
e0abab9bb4
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')); |
||
---|---|---|
phpseclib | ||
tests | ||
.gitattributes | ||
.gitignore | ||
.travis.yml | ||
AUTHORS | ||
composer.json | ||
LICENSE | ||
phpunit.xml.dist | ||
README.md |
phpseclib - PHP Secure Communications Library
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: [phpseclib.sourceforge.net](http://phpseclib.sourceforge.net/pear.htm)