keis/just-ssh

libssh2 wrapper with minimal extra baggage

0.1.2 2013-04-29 08:10 UTC

This package is not auto-updated.

Last update: 2024-11-04 11:52:56 UTC


README

libssh2 wrapper with minimal extra baggage.

Usage

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

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