lib/plugin/webauth/vendor/phpseclib/phpseclib/phpseclib/System/SSHAgent.php

Pure-PHP ssh-agent client.

PHP version 5

Here are some examples of how to use this library: <?php include 'vendor/autoload.php';

$agent = new \phpseclib\System\SSH\Agent();

$ssh = new \phpseclib\Net\SSH2('www.domain.tld'); if (!$ssh->login('username', $agent)) { exit('Login Failed'); }

echo $ssh->exec('pwd'); echo $ssh->exec('ls -la'); ?>

Classes

Agent Pure-PHP ssh-agent client identity factory