ssh2_auth_password

PECL ssh2 >= 0.9.0
ssh2_auth_password - Authenticate over SSH using a plain password
Manual
Code Examples

Example #1 Authenticating with a password

PHP Version: