|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Collaboration diagram for phpseclib\System\SSH\Agent:Public Member Functions | |
| __construct () | |
| Default Constructor. More... | |
| requestIdentities () | |
| Request Identities. More... | |
| startSSHForwarding ($ssh) | |
| Signal that agent forwarding should be requested when a channel is opened. More... | |
| _request_forwarding ($ssh) | |
| Request agent forwarding of remote server. More... | |
| _on_channel_open ($ssh) | |
| On successful channel open. More... | |
| _forward_data ($data) | |
| Forward data to SSH Agent and return data reply. More... | |
Data Fields | |
| const | SSH_AGENTC_REQUEST_IDENTITIES = 11 |
| #+ Message numbers More... | |
| const | SSH_AGENT_IDENTITIES_ANSWER = 12 |
| const | SSH_AGENTC_SIGN_REQUEST = 13 |
| const | SSH_AGENT_SIGN_RESPONSE = 14 |
| const | FORWARD_NONE = 0 |
| #- More... | |
| const | FORWARD_REQUEST = 1 |
| const | FORWARD_ACTIVE = 2 |
| const | SSH_AGENT_FAILURE = 5 |
| #- More... | |
| $fsock | |
| $forward_status = self::FORWARD_NONE | |
| Agent forwarding status. More... | |
| $socket_buffer = '' | |
| Buffer for accumulating forwarded authentication agent data arriving on SSH data channel destined for agent unix socket. More... | |
| $expected_bytes = 0 | |
| Tracking the number of bytes we are expecting to arrive for the agent socket on the SSH data channel. More... | |
| phpseclib\System\SSH\Agent::__construct | ( | ) |
Default Constructor.
Definition at line 120 of file Agent.php.
References $_SERVER.
| phpseclib\System\SSH\Agent::_forward_data | ( | $data | ) |
Forward data to SSH Agent and return data reply.
| string | $data |
Definition at line 278 of file Agent.php.
References $data.
| phpseclib\System\SSH\Agent::_on_channel_open | ( | $ssh | ) |
On successful channel open.
This method is called upon successful channel open to give the SSH Agent an opportunity to take further action. i.e. request agent forwarding
| Net_SSH2 | $ssh | @access private |
Definition at line 264 of file Agent.php.
References phpseclib\System\SSH\Agent\_request_forwarding().
Here is the call graph for this function:| phpseclib\System\SSH\Agent::_request_forwarding | ( | $ssh | ) |
Request agent forwarding of remote server.
| Net_SSH2 | $ssh |
Definition at line 221 of file Agent.php.
References $response, and phpseclib\System\SSH\Agent\FORWARD_ACTIVE.
Referenced by phpseclib\System\SSH\Agent\_on_channel_open().
Here is the caller graph for this function:| phpseclib\System\SSH\Agent::requestIdentities | ( | ) |
Request Identities.
See "2.5.2 Requesting a list of protocol 2 keys" Returns an array containing zero or more \phpseclib\System\SSH\Agent\Identity objects
Definition at line 149 of file Agent.php.
| phpseclib\System\SSH\Agent::startSSHForwarding | ( | $ssh | ) |
Signal that agent forwarding should be requested when a channel is opened.
| Net_SSH2 | $ssh |
Definition at line 207 of file Agent.php.
References phpseclib\System\SSH\Agent\FORWARD_REQUEST.
| phpseclib\System\SSH\Agent::$expected_bytes = 0 |
| phpseclib\System\SSH\Agent::$forward_status = self::FORWARD_NONE |
| phpseclib\System\SSH\Agent::$socket_buffer = '' |
| const phpseclib\System\SSH\Agent::FORWARD_ACTIVE = 2 |
Definition at line 75 of file Agent.php.
Referenced by phpseclib\System\SSH\Agent\_request_forwarding().
| const phpseclib\System\SSH\Agent::FORWARD_NONE = 0 |
| const phpseclib\System\SSH\Agent::FORWARD_REQUEST = 1 |
Definition at line 73 of file Agent.php.
Referenced by phpseclib\System\SSH\Agent\startSSHForwarding().
| const phpseclib\System\SSH\Agent::SSH_AGENT_FAILURE = 5 |
| const phpseclib\System\SSH\Agent::SSH_AGENT_IDENTITIES_ANSWER = 12 |
| const phpseclib\System\SSH\Agent::SSH_AGENT_SIGN_RESPONSE = 14 |
Definition at line 62 of file Agent.php.
Referenced by phpseclib\System\SSH\Agent\Identity\sign().
| const phpseclib\System\SSH\Agent::SSH_AGENTC_REQUEST_IDENTITIES = 11 |
| const phpseclib\System\SSH\Agent::SSH_AGENTC_SIGN_REQUEST = 13 |
Definition at line 60 of file Agent.php.
Referenced by phpseclib\System\SSH\Agent\Identity\sign().