PHPackages                             faudin/php-ssh - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. faudin/php-ssh

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

faudin/php-ssh
==============

Provides an object-oriented wrapper for the php ssh2 extension. (based on herzult package)

v1.1.2(8y ago)09MITPHPPHP &gt;=5.3.2

Since Mar 4Pushed 8y ago1 watchersCompare

[ Source](https://github.com/flavienaudin/php-ssh)[ Packagist](https://packagist.org/packages/faudin/php-ssh)[ RSS](/packages/faudin-php-ssh/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependencies (2)Versions (9)Used By (0)

PHP SSH
=======

[](#php-ssh)

[![Build Status](https://camo.githubusercontent.com/847e19dc6781bb4248f31679e38a37190faddc73110afaa823d10fd6a69d7243/68747470733a2f2f7472617669732d63692e6f72672f4865727a756c742f7068702d7373682e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/Herzult/php-ssh) (master)

Provides an object-oriented wrapper for the php ssh2 extension.

Requirements
------------

[](#requirements)

You need PHP version 5.3+ with the [SSH2 extension](http://www.php.net/manual/en/book.ssh2.php).

Installation
------------

[](#installation)

The best way to add the library to your project is using [composer](http://getcomposer.org).

```
$ composer require faudin/php-ssh:~1.0

```

Usage
-----

[](#usage)

### Configuration of the connection

[](#configuration-of-the-connection)

To establish an SSH connection, you must first define its configuration. For that, create a Configuration instance with all the needed parameters.

```
