Skip to content

nilsonpessim/ssh-connect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Library for SSH connection

This php library is used to connect to remote hosts via SSH

Requirements

You need the php_ssh2 library installed in your environment.

Composer:

composer require nilsonpessim/ssh-connect

Basic Use:

<?php

require "../vendor/autoload.php";
use Nilsonpessim\SshConnect\SSH;

var_dump(
    (new SSH('127.0.0.1', 22, root, ''))->exec('ls -la')
);

Whatsapp Badge

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages