Lines Matching defs:ssh
4 * Pure-PHP ssh-agent client.
17 * $ssh = new \phpseclib3\Net\SSH2('www.domain.tld');
18 * if (!$ssh->login('username', $agent)) {
22 * echo $ssh->exec('pwd');
23 * echo $ssh->exec('ls -la');
43 * Pure-PHP ssh-agent client identity factory
135 throw new \RuntimeException("Unable to connect to ssh-agent (Error $errno: $errstr)");
183 case 'ssh-rsa':
184 case 'ssh-dss':
185 case 'ssh-ed25519':
220 * @param \phpseclib3\Net\SSH2 $ssh
223 private function request_forwarding(SSH2 $ssh)
225 if (!$ssh->requestAgentForwarding()) {
241 * @param \phpseclib3\Net\SSH2 $ssh
243 public function registerChannelOpen(SSH2 $ssh)
246 $this->request_forwarding($ssh);