nilsonpessim/ssh-connect
最新稳定版本:v1.1.0
Composer 安装命令:
composer require nilsonpessim/ssh-connect
包简介
It's an easy way to connect to a remote SSH server in your application
README 文档
README
This php library is used to connect to remote hosts via SSH
Requirements
You need the php_ssh2 library installed in your environment.
- Install Library Linux - Tested on Ubuntu 18.04
- Install Library Windows - Tested on Windows 11 - xampp v3.3.0 - php 8.1.6
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')
);
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-07-09