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

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

tomcan/ssh-tasks
================

Execute tasks/commands over SSH from PHP

v1.1.1(2y ago)054Apache-2.0PHPPHP &gt;=7.4

Since Sep 7Pushed 2y ago1 watchersCompare

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

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

PHP SSH Task executor
=====================

[](#php-ssh-task-executor)

The PHP SSH Task executor (or ssh-tasks) is a library that allows you to execute commands/scripts over a remote SSH connection from PHP using the ssh2 extention.

Installation and usage
======================

[](#installation-and-usage)

You can install the library through composer. Then include the autoloader as usual.

```
$ composer require tomcan/ssh-tasks

```

```
