keis/just-ssh

带有最小额外负担的libssh2包装器

0.1.2 2013-04-29 08:10 UTC

This package is not auto-updated.

Last update: 2024-09-23 11:18:49 UTC


README

libssh2包装器,带有最小额外负担。

使用方法

$client = new \JustSSH\Client;
$client->connect('your-host');
$client->authenticate(
    new \JustSSH\PasswordAuthentication('username', 'password'));

$stream = $client->execute("cowsay 'Moo!'");
// do something with output