2017 © Pedro Peláez
 

library ssh2

Automation tool for remote servers with pure PHP ssh2.

image

jlaso/ssh2

Automation tool for remote servers with pure PHP ssh2.

  • Thursday, February 5, 2015
  • by jlaso
  • Repository
  • 1 Watchers
  • 1 Stars
  • 57 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 2 % Grown

The README.md

License Latest Unstable Version Total Downloads Latest Stable Version, (*1)

SSH2

This is a little wrapper to automate task in remote servers, (*2)

with this package you can install, backup or do anything you want via ssh commands, (*3)

You need to install ssh2 support for PHP

http://php.net/manual/en/book.ssh2.php, (*4)

In OSX for me was useful this guide:

https://abendstille.at/blog/?p=144, (*5)

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

once composer launched move to vendor/jlaso/ss2h/, (*6)

and start machine with vagrant up, (*7)

obviously you need to have installed vagrant and ansible in your system, (*8)

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

Then you can run the demo with php demo.php, (*10)


You can run the demo also in your local machine if you have support for php-ssh2, (*11)

demo

Servers declaration: see servers.ini.dist and copy or rename to servers.ini, (*12)

Tasks automation see commands.ini.dist and copy or rename to commands.ini, (*13)

The Versions

05/02 2015

dev-master

9999999-dev https://github.com/jlaso/ssh2.git

Automation tool for remote servers with pure PHP ssh2.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

ssh ssh2 jlaso

05/02 2015

dev-develop

dev-develop https://github.com/jlaso/ssh2.git

Automation tool for remote servers with pure PHP ssh2.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

ssh ssh2 jlaso

05/02 2015

0.1

0.1.0.0 https://github.com/jlaso/ssh2.git

Automation tool for remote servers with pure PHP ssh2.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

gps jlaso gps-tools