[ Index ] |
PHP Cross Reference of DokuWiki |
[Source view] [Print] [Project Stats]
Pure-PHP ssh-agent client. PHP version 5
Author: | Jim Wigginton |
Copyright: | 2014 Jim Wigginton |
License: | http://www.opensource.org/licenses/mit-license.html MIT License |
Link: | http://phpseclib.sourceforge.net |
File Size: | 361 lines (11 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Agent:: (6 methods):
__construct()
requestIdentities()
startSSHForwarding()
_request_forwarding()
_on_channel_open()
_forward_data()
__construct($address = null) X-Ref |
Default Constructor return: \phpseclib\System\SSH\Agent |
requestIdentities() X-Ref |
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 return: array |
startSSHForwarding() X-Ref |
Signal that agent forwarding should be requested when a channel is opened return: bool |
_request_forwarding($ssh) X-Ref |
Request agent forwarding of remote server return: bool param: Net_SSH2 $ssh |
_on_channel_open($ssh) X-Ref |
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 param: Net_SSH2 $ssh |
_forward_data($data) X-Ref |
Forward data to SSH Agent and return data reply return: data from SSH Agent param: string $data |