Skip to content

weelrs8/ssh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSH PHP

Utilizando autenticação de usuário e senha

<?php
use SSH\SSHConnection;
use SSH\Auth\Password;

$ssh = new SSHConnection();
$ssh->open('172.17.10.180');
$ssh->authenticate(new Password('username', 'password'));

Executando um comando

<?php

$ssh->run('ls -la');

Releases

No releases published

Packages

No packages published

Languages