ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 | ) |
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 | private |
Definition at line 264 of file Agent.php.
References phpseclib\System\SSH\Agent\_request_forwarding().
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.
Referenced by phpseclib\System\SSH\Agent\_on_channel_open().
phpseclib\System\SSH\Agent::requestIdentities | ( | ) |
phpseclib\System\SSH\Agent::startSSHForwarding | ( | $ssh | ) |
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_NONE = 0 |
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().