SSH Client For Laravel.

v0.4.1 2016-08-26 04:46 UTC

This package is not auto-updated.

Last update: 2020-05-27 06:10:10 UTC


SSH Client for laravel.

v0.5 moved to ssh-client

Build Status
[Build Status]

v0.4 changed namespace and file directory

If got error about class not found,try

composer dump-autoload

Install With Composer

composer require hexpang/laravel-ssh

Open config/app.php add for aliases

'SSH' => hexpang\Client\SSH\SSHClient::class,


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


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)