Are there any built-in methods to set environmental variables with phplibsec's Net_SSH2
class?
For instance
include('Net/SSH2.php');
$ssh = new Net_SSH2('www.domain.tld');
if (!$ssh->login('username', 'password')) {
exit('Login Failed');
}
// $ssh->setEnv('TEST=Hello');
echo $ssh->exec('echo $TEST');
?>