ssh2_auth_pubkey_file

PECL ssh2 >= 0.9.0
ssh2_auth_pubkey_file - Authenticate using a public key
Manual
Code Examples

Example #1 Authentication using a public key

PHP Version: