ssh2_auth_agent

ssh2_auth_agent

(PECL ssh2 >= 0.12)

ssh2_auth_agentAuthenticate over SSH using the ssh agent

Description

bool ssh2_auth_agent ( resource $session , string $username )

Authenticate over SSH using the ssh agent

Note: The ssh2_auth_agent() function will only be available when the ssh2 extension is compiled with libssh >= 1.2.3.