Login   Register  
PHP Classes
elePHPant
Icontem

SSH in PHP

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

  Author  
Picture of Martin Filip
Name: Martin Filip <e-mail contact>
Packages: 1 Browse all classes by Martin Filip Browse all classes by
Country: Czech Republic Czech Republic - PHP jobs in Czech Republic
Age: 28
All time rank: 1573 in Czech Republic Czech Republic
Week rank: 185 Down3 in Czech Republic Czech Republic Equal
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download .zip .tar.gz  
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 .zip .tar.gz  >  Support forum Support forum (13)  >  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: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 11349 users
All time rank: 87
Week users: 13 users
Week rank: 132 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  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (91.1%)
Good (89.3%)
-
Sufficient (78.6%)
-
-
Sufficient (62.3%)
678
Month:
Not yet rated by the users

  Trackback links  
Link Description
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...

  Applications that use this class  
No application links were specified for this class.
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

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.