PHPackages                             amphp/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. amphp/ssh

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

amphp/ssh
=========

Async SSH client for PHP based on Amp.

371.0k7[5 issues](https://github.com/amphp/ssh/issues)[3 PRs](https://github.com/amphp/ssh/pulls)PHPCI failing

Since Apr 2Pushed 4y ago7 watchersCompare

[ Source](https://github.com/amphp/ssh)[ Packagist](https://packagist.org/packages/amphp/ssh)[ RSS](/packages/amphp-ssh/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (2)Used By (0)

Amp SSH
=======

[](#amp-ssh)

[![Build Status](https://camo.githubusercontent.com/4bafc573649ed3dbd91a7364f7eab22c4a94e1d6918f3bf181bb35b2b30fe00b/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f616d7068702f7373682f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/amphp/ssh)[![CoverageStatus](https://camo.githubusercontent.com/ad6b7f5781fd967a89c6911eff84b05773170f4bde1ca1196f018635993ad41d/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f616d7068702f7373682f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://coveralls.io/github/amphp/ssh?branch=master)[![License](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)

`amphp/ssh` provides asynchronous SSH client for [Amp](https://github.com/amphp/amp).

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

[](#installation)

This package can be installed as a [Composer](https://getcomposer.org/) dependency.

```
composer require amphp/ssh
```

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

[](#requirements)

- PHP 7.0+
- [libsodium extension](https://github.com/jedisct1/libsodium-php), included by default in PHP since 7.2

Examples
--------

[](#examples)

See the `examples` directory.

Versioning
----------

[](#versioning)

`amphp/ssh` follows the [semver](http://semver.org/) semantic versioning specification like all other `amphp` packages.

License
-------

[](#license)

The MIT License (MIT). Please see [`LICENSE`](./LICENSE) for more information.

Credits
-------

[](#credits)

A lot of work on this lib would not have been possible with previous awesome folks implementing this specification in PHP:

- [PHPSeclib](https://github.com/phpseclib/phpseclib)
- [PHP Encrypted Streams](https://github.com/jeskew/php-encrypted-streams)

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 55.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1628287?v=4)[Aaron Piotrowski](/maintainers/Trowski)[@trowski](https://github.com/trowski)

![](https://www.gravatar.com/avatar/12852217f3369e8144bc9ce6ac2a2341c28c5512c5b3df5749bfbbd45b6877ff?d=identicon)[kelunik](/maintainers/kelunik)

![](https://www.gravatar.com/avatar/f6db63ad594446f67d79532b75c69439fd0df779cc90868b43c187c02a4221ef?d=identicon)[bwoebi](/maintainers/bwoebi)

![](https://www.gravatar.com/avatar/16ce838e2759f19597de56865243a88711d822ba923c61e024090e87e4d3fc5f?d=identicon)[joelwurtz](/maintainers/joelwurtz)

---

Top Contributors

[![joelwurtz](https://avatars.githubusercontent.com/u/90466?v=4)](https://github.com/joelwurtz "joelwurtz (43 commits)")[![Ekstazi](https://avatars.githubusercontent.com/u/992738?v=4)](https://github.com/Ekstazi "Ekstazi (31 commits)")[![kelunik](https://avatars.githubusercontent.com/u/2743004?v=4)](https://github.com/kelunik "kelunik (4 commits)")

---

Tags

amphpasyncphpssh

### Embed Badge

![Health badge](/badges/amphp-ssh/health.svg)

```
[![Health](https://phpackages.com/badges/amphp-ssh/health.svg)](https://phpackages.com/packages/amphp-ssh)
```

###  Alternatives

[aferrandini/urlizer

Library for urlizer

24778.0k8](/packages/aferrandini-urlizer)[leo108/laravel_cas_server

A laravel package provides CAS server implementation

884.7k](/packages/leo108-laravel-cas-server)[lenius/basket

Shopping basket package

1328.4k3](/packages/lenius-basket)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
