定制 jlaso/ssh2 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jlaso/ssh2

Composer 安装命令:

composer require jlaso/ssh2

包简介

Automation tool for remote servers with pure PHP ssh2.

README 文档

README

License Latest Unstable Version Total Downloads Latest Stable Version

SSH2

This is a little wrapper to automate task in remote servers

with this package you can install, backup or do anything you want via ssh commands

You need to install ssh2 support for PHP

http://php.net/manual/en/book.ssh2.php

In OSX for me was useful this guide:

https://abendstille.at/blog/?p=144

You can test or run locally with the ansible recipe to start a VirtualMachine

once composer launched move to vendor/jlaso/ss2h/

and start machine with vagrant up

obviously you need to have installed vagrant and ansible in your system

Once into the virtualmachine (with vagrant ssh) move to /vagrant and run composer install

Then you can run the demo with php demo.php

You can run the demo also in your local machine if you have support for php-ssh2

demo

Servers declaration: see servers.ini.dist and copy or rename to servers.ini

Tasks automation see commands.ini.dist and copy or rename to commands.ini

统计信息

  • 总下载量: 642
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-02-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固