Property | Type | Description | |
---|---|---|---|
$expected_bytes | Tracking the number of bytes we are expecting to arrive for the agent socket on the SSH data channel | ||
$forward_status | Agent forwarding status | ||
$fsock | resource | Socket Resource | |
$socket_buffer | Buffer for accumulating forwarded authentication agent data arriving on SSH data channel destined for agent unix socket |
Method | Description | |
---|---|---|
__construct ( ) : |
Default Constructor | |
_forward_data ( string $data ) : data | Forward data to SSH Agent and return data reply | |
_on_channel_open ( Net_SSH2 $ssh ) | On successful channel open | |
_request_forwarding ( Net_SSH2 $ssh ) : boolean | Request agent forwarding of remote server | |
requestIdentities ( ) : array | Request Identities | |
startSSHForwarding ( Net_SSH2 $ssh ) : boolean | Signal that agent forwarding should be requested when a channel is opened |
public _forward_data ( string $data ) : data | ||
$data | string | |
return | data | from SSH Agent |
public _on_channel_open ( Net_SSH2 $ssh ) | ||
$ssh | Net_SSH2 |
public _request_forwarding ( Net_SSH2 $ssh ) : boolean | ||
$ssh | Net_SSH2 | |
return | boolean |
public requestIdentities ( ) : array | ||
return | array |
public startSSHForwarding ( Net_SSH2 $ssh ) : boolean | ||
$ssh | Net_SSH2 | |
return | boolean |
public $expected_bytes |