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.
composer require hexpang/laravel-ssh
Open config/app.php add for aliases
'SSH' => hexpang\Services\SSHService::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) |