Login   Register  
PHP Classes
elePHPant
Icontem

SSH in PHP: SSH client implementation in pure PHP

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Martin Filip
Name: Martin Filip <contact>
Classes: 1 package by
Country: Czech Republic Czech Republic
Age: 29
All time rank: 1593 in Czech Republic Czech Republic
Week rank: 324 Down4 in Czech Republic Czech Republic Down
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This class implements a SSH client to securely execute shell commands in a remote server using an encrypted communications channel.

This class is not based on any PHP extension specifically meant to implement the SSH protocol. It only requires the PHP extensions bcmath and mcrypt.

It can connect to a SSH server, authenticate with given user and password, execute given commands and retrieve the commands output returned by the server.

Currently the class only supports SSH protocol version 1.

  Classes of Martin Filip  >  SSH in PHP  >  Download Download .zip .tar.gz  >  Support forum Support forum (14)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: SSH in PHP
Base name: ssh_in_php
Description: SSH client implementation in pure PHP
Version: 1.0.0
PHP version: -
License: GNU General Public License (GPL)
All time users: 11791 users
All time rank: 88
Week users: 6 users
Week rank: 294 Down
 
  Groups   Rate classes User ratings   Trackback   Applications   Files Files  

  Groups  
Group folder image Networking Networking protocols, clients and servers View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Cryptography Encrypting, decrypting and hashing data View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
August 2005
Number 3


Prize: One book of choice by O'Reilly
SSH is a protocol that allows the execution of shell commands in a remote machine using secure channel.

It is often used to access remote machines and execute operations via a private channel. It uses encryption to prevent illicit accesses to sensitive information that is exchanged between the client and the server.

Despite the complexity of the protocol, this class provides a pure PHP implementation of an SSH client. It does not require more than a PHP installation with mcrypt libraries, which are standard since PHP 3.

It enables the potential of applications that require executing automated operations in remote servers but require an high level of security.

Manuel Lemos

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (91%) Good (89%) - Sufficient (78%) - - Sufficient (62%) 704
Month: Not yet rated by the users

  Pages that reference this package  
Librería SSH para PHP
Para aquellos que quieran desarrollar una aplicación que tenga acceso mediante SSH, le vendrá bien esta librería, aunque con la limitación de que sólo admite SSH1...

Latest pages that reference packages Latest pages that reference packages


  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file ssh_in_php.php Class Whole nasty code ;)
Accessible without login Plain text file ssh_in_php_ex.php Example Example of ssh in php class usage

Install with Composer Install with Composer - Download Download all files: ssh_in_php.tar.gz ssh_in_php.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.