PHPackages                             cullylarson/ssh-commands - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. cullylarson/ssh-commands

ActiveLibrary[CLI &amp; Console](/categories/cli)

cullylarson/ssh-commands
========================

A library for executing remote commands, via SSH. Supports exit status, standard output, and error output.

v1.0.3(10y ago)09522MITPHPPHP &gt;=5.3.0

Since Sep 1Pushed 10y ago1 watchersCompare

[ Source](https://github.com/cullylarson/ssh-commands)[ Packagist](https://packagist.org/packages/cullylarson/ssh-commands)[ Docs](https://github.com/cullylarson/ssh-command)[ RSS](/packages/cullylarson-ssh-commands/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (2)Versions (5)Used By (2)

SSH Commands
============

[](#ssh-commands)

A library for executing remote commands, via SSH, with support for exit codes, standard output, and error output. It fills in a gap present in the PECL ssh2 library.

Install
-------

[](#install)

```
curl -s http://getcomposer.org/installer | php
php composer.phar require cullylarson/ssh-commands

```

Usage
-----

[](#usage)

1. Create an ssh2 connection resource.

    ```
