Class Net_SSH2
Pure-PHP implementation of SSHv2.
Direct known subclasses
Copyright: MMVII Jim Wigginton
License: MIT License
Author: Jim Wigginton <terrafrost@php.net>
Version: 0.1.0
Located at vendors/phpseclib/Net/SSH2.php
Methods summary
public
|
|
public
|
|
public
Boolean
|
|
public
Boolean
|
#
_keyboard_interactive_login( String $username, String $password )
Login via keyboard-interactive authentication |
public
Boolean
|
|
public
Boolean
|
|
public
|
|
public
String
|
|
public
Boolean
|
|
public
String
|
#
read( String $expect = '', Integer $mode = NET_SSH2_READ_SIMPLE )
Returns the output of an interactive shell |
public
Boolean
|
|
public
|
|
public
|
|
public
String
|
|
public
String
|
|
public
Mixed
|
|
public
Boolean
|
|
public
|
|
public
Boolean
|
|
public
Boolean
|
|
public
Boolean
|
|
public
String
|
|
public
|
|
public
String
|
|
public
String
|
|
public
String
|
|
public
String
|
|
public
String
|
|
public
Array
|
|
public
Array
|
#
getServerHostKeyAlgorithms( )
Return a list of the host key (public key) algorithms the server supports. |
public
Array
|
#
getEncryptionAlgorithmsClient2Server( )
Return a list of the (symmetric key) encryption algorithms the server supports, when receiving stuff from the client. |
public
Array
|
#
getEncryptionAlgorithmsServer2Client( )
Return a list of the (symmetric key) encryption algorithms the server supports, when sending stuff to the client. |
public
Array
|
#
getMACAlgorithmsClient2Server( )
Return a list of the MAC algorithms the server supports, when receiving stuff from the client. |
public
Array
|
#
getMACAlgorithmsServer2Client( )
Return a list of the MAC algorithms the server supports, when sending stuff to the client. |
public
Array
|
#
getCompressionAlgorithmsClient2Server( )
Return a list of the compression algorithms the server supports, when receiving stuff from the client. |
public
Array
|
#
getCompressionAlgorithmsServer2Client( )
Return a list of the compression algorithms the server supports, when sending stuff to the client. |
public
Array
|
#
getLanguagesServer2Client( )
Return a list of the languages the server supports, when sending stuff to the client. |
public
Array
|
#
getLanguagesClient2Server( )
Return a list of the languages the server supports, when receiving stuff from the client. |
public
Mixed
|
Magic methods summary
Properties summary
public
String
|
$identifier |
#
The SSH identifier |
public
Object
|
$fsock |
#
The Socket Object |
public
Integer
|
$bitmap |
#
Execution Bitmap |
public
String
|
$errors |
#
Error information |
public
String
|
$server_identifier |
#
Server Identifier |
public
Array
|
$kex_algorithms |
#
Key Exchange Algorithms |
public
Array
|
$server_host_key_algorithms |
#
Server Host Key Algorithms |
public
Array
|
$encryption_algorithms_client_to_server |
#
Encryption Algorithms: Client to Server |
public
Array
|
$encryption_algorithms_server_to_client |
#
Encryption Algorithms: Server to Client |
public
Array
|
$mac_algorithms_client_to_server |
#
MAC Algorithms: Client to Server |
public
Array
|
$mac_algorithms_server_to_client |
#
MAC Algorithms: Server to Client |
public
Array
|
$compression_algorithms_client_to_server |
#
Compression Algorithms: Client to Server |
public
Array
|
$compression_algorithms_server_to_client |
#
Compression Algorithms: Server to Client |
public
Array
|
$languages_server_to_client |
#
Languages: Server to Client |
public
Array
|
$languages_client_to_server |
#
Languages: Client to Server |
public
Integer
|
$encrypt_block_size |
#
Block Size for Server to Client Encryption |
public
Integer
|
$decrypt_block_size |
#
Block Size for Client to Server Encryption |
public
Object
|
$decrypt |
#
Server to Client Encryption Object |
public
Object
|
$encrypt |
#
Client to Server Encryption Object |
public
Object
|
$hmac_create |
#
Client to Server HMAC Object |
public
Object
|
$hmac_check |
#
Server to Client HMAC Object |
public
Integer
|
$hmac_size |
#
Size of server to client HMAC |
public
String
|
$server_public_host_key |
#
Server Public Host Key |
public
String
|
$session_id |
#
Session identifer |
public
String
|
$exchange_hash |
#
Exchange hash |
public
Array
|
$message_numbers |
#
Message Numbers |
public
Array
|
$disconnect_reasons |
#
Disconnection Message 'reason codes' defined in RFC4253 |
public
Array
|
$channel_open_failure_reasons |
#
SSH_MSG_CHANNEL_OPEN_FAILURE 'reason codes', defined in RFC4254 |
public
Array
|
$terminal_modes |
#
Terminal Modes |
public
Array
|
$channel_extended_data_type_codes |
#
SSH_MSG_CHANNEL_EXTENDED_DATA's data_type_codes |
public
Integer
|
$send_seq_no |
#
Send Sequence Number |
public
Integer
|
$get_seq_no |
#
Get Sequence Number |
public
Array
|
$server_channels |
#
Server Channels |
public
Array
|
$channel_buffers |
#
Channel Buffers |
public
Array
|
$channel_status |
#
Channel Status |
public
Array
|
$packet_size_client_to_server |
#
Packet Size |
public
Array
|
$message_number_log |
#
Message Number Log |
public
Array
|
$message_log |
#
Message Log |
public
Integer
|
$window_size |
#
The Window Size |
public
Array
|
$window_size_client_to_server |
#
Window size |
public
String
|
$signature |
#
Server signature |
public
String
|
$signature_format |
#
Server signature format |
public
Array
|
$interactiveBuffer |
#
Interactive Buffer |
public
Integer
|
$log_size |
#
Current log size |
public
mixed
|
$timeout |
#
Timeout |
public
mixed
|
$curTimeout |
#
Current Timeout |
public
mixed
|
$realtime_log_file |
#
Real-time log file pointer |
public
mixed
|
$realtime_log_size |
#
Real-time log file size |
public
boolean
|
$signature_validated |
#
Has the signature been validated? |
public
mixed
|
$realtime_log_wrap |
#
Real-time log file wrap boolean |