LaravelPackages.net
Acme Inc.
Toggle sidebar
hexpang/laravel-ssh

SSH Client For Laravel.

7.208
0
v0.4.1
About hexpang/laravel-ssh

hexpang/laravel-ssh is a Laravel package for ssh client for laravel.. It currently has 0 GitHub stars and 7.208 downloads on Packagist (latest version v0.4.1). Install it with composer require hexpang/laravel-ssh. Discover more Laravel packages by hexpang or browse all Laravel packages to compare alternatives.

Last updated

SSH Client For Laravel

SSH Client for laravel.

| Build Status | | ---- | | Build Status |

Install With Composer

composer require hexpang/laravel-ssh

Open config/app.php add for aliases

'SSH' => hexpang\Services\SSHService::class,

Usage

use SSH;
$ssh = new SSH($host,$port,$username,$password);

Method

| Method | Description | Usage | | ------ | ----------- | ----- | | Ping | Check port | $ssh->ping($host,$port,$timeOut) | Connect | Connect to server | $ssh->Connect() | | Authorize | Authorize | $ssh->Authorize() | | Disconnect | Disconnect | $ssh->Disconnect() | | Execute | Execute command and response result for an array[ Response,Error ] | $ssh->Execute($command) |

Comments