hexpang/laravel-ssh

SSH Client For Laravel.

Downloads

7110

Stars

0

Version

v0.4.1

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)
HexPang

Author

HexPang