Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques statiques | |
static | setCryptoEngine ($engine) |
static | getSupportedKEXAlgorithms () |
static | getSupportedHostKeyAlgorithms () |
static | getSupportedEncryptionAlgorithms () |
static | getSupportedMACAlgorithms () |
static | getSupportedCompressionAlgorithms () |
static | getConnectionByResourceId ($id) |
Champs de données | |
const | NET_SSH2_COMPRESSION_NONE = 1 |
const | NET_SSH2_COMPRESSION_ZLIB = 2 |
const | NET_SSH2_COMPRESSION_ZLIB_AT_OPENSSH = 3 |
const | MASK_CONSTRUCTOR = 0x00000001 |
const | MASK_CONNECTED = 0x00000002 |
const | MASK_LOGIN_REQ = 0x00000004 |
const | MASK_LOGIN = 0x00000008 |
const | MASK_SHELL = 0x00000010 |
const | MASK_WINDOW_ADJUST = 0x00000020 |
const | CHANNEL_EXEC = 1 |
const | CHANNEL_SHELL = 2 |
const | CHANNEL_SUBSYSTEM = 3 |
const | CHANNEL_AGENT_FORWARD = 4 |
const | CHANNEL_KEEP_ALIVE = 5 |
const | LOG_SIMPLE = 1 |
const | LOG_COMPLEX = 2 |
const | LOG_REALTIME = 3 |
const | LOG_REALTIME_FILE = 4 |
const | LOG_MAX_SIZE = 1048576 |
const | READ_SIMPLE = 1 |
const | READ_REGEX = 2 |
const | READ_NEXT = 3 |
$fsock | |
Fonctions membres protégées | |
sublogin ($username,... $args) | |
reset_connection ($reason) | |
get_channel_packet ($client_channel, $skip_extended=false) | |
send_binary_packet ($data, $logged=null) | |
send_channel_packet ($client_channel, $data) | |
disconnect_helper ($reason) | |
define_array (... $args) | |
format_log ($message_log, $message_number_log) | |
Attributs protégés | |
$bitmap = 0 | |
$server_identifier = false | |
$server_channels = [] | |
$channel_status = [] | |
$window_size = 0x7FFFFFFF | |
$window_size_server_to_client = [] | |
$timeout | |
$curTimeout | |
$preferred_signature_format = false | |
$auth = [] | |
Fonctions membres privées | |
connect () | |
generate_identifier () | |
key_exchange ($kexinit_payload_server=false) | |
encryption_algorithm_to_key_size ($algorithm) | |
login_helper ($username, $password=null) | |
keyboard_interactive_login ($username, $password) | |
keyboard_interactive_process (... $responses) | |
ssh_agent_login ($username, Agent $agent) | |
privatekey_login ($username, PrivateKey $privatekey) | |
initShell () | |
get_interactive_channel () | |
get_open_channel () | |
reconnect () | |
read_remaining_bytes ($remaining_length) | |
filter ($payload, $skip_channel_filter) | |
append_log ($message_number, $message) | |
close_channel ($client_channel, $want_reply=false) | |
on_channel_open () | |
updateLogHistory ($old, $new) | |
Fonctions membres privées statiques | |
static | encryption_algorithm_to_crypt_instance ($algorithm) |
static | mac_algorithm_to_hash_instance ($algorithm) |
static | bad_algorithm_candidate ($algorithm) |
static | array_intersect_first ($array1, $array2) |
Attributs privés statiques | |
static | $crypto_engine = false |
static | $connections |
__destruct | ( | ) |
Destructor.
Will be called, automatically, if you're supporting just PHP5. If you're supporting PHP4, you'll need to call disconnect().
public
Références SSH2\disconnect().
__toString | ( | ) |
|
private |
Logs data packets
Makes sure that only the last 1MB worth of packets will be logged
string | $message_number | |
string | $message | private |
Références $message, $start, $temp, SSH2\format_log(), et Strings\shift().
Référencé par SSH2\connect(), et SSH2\send_binary_packet().
|
staticprivate |
Returns the first value of the intersection of two arrays or false if the intersection is empty. The order is defined by the first parameter.
array | $array1 | |
array | $array2 |
Références $value.
|
staticprivate |
|
private |
Closes and flushes a channel
doesn't properly close most channels. For exec() channels are normally closed by the server and for SFTP channels are presumably closed when the client disconnects. This functions is intended for SCP more than anything.
int | $client_channel | |
bool | $want_reply |
Références SSH2\disconnect(), SSH2\get_channel_packet(), SSH2\MASK_SHELL, et SSH2\send_binary_packet().
Référencé par SSH2\disablePTY(), SSH2\exec(), SSH2\get_channel_packet(), SSH2\ping(), SSH2\reset(), et SSH2\stopSubsystem().
|
private |
Connect to an SSHv2 server
Références $data, SSH2\$fsock, SSH2\$host, SSH2\$port, $start, $temp, SSH2\$timeout, SSH2\append_log(), SSH2\generate_identifier(), SSH2\key_exchange(), et null.
Référencé par SSH2\getAlgorithmsNegotiated(), SSH2\getServerAlgorithms(), SSH2\getServerIdentification(), SSH2\getServerPublicHostKey(), SSH2\login_helper(), SSH2\reconnect(), et SSH2\sublogin().
|
protected |
Define Array
Takes any number of arrays whose indices are integers and whose values are strings and defines a bunch of named constants from it, using the value as the name of the constant and the index as the value of the constant. If any of the constants that would be defined already exists, none of the constants will be defined.
mixed[] | ...$args protected |
Référencé par SFTP\__construct().
disablePTY | ( | ) |
disableQuietMode | ( | ) |
Disable Quiet Mode
Show stderr in output
public
disableSmartMFA | ( | ) |
Disables "smart" multi-factor authentication (MFA)
disconnect | ( | ) |
Disconnect
public
Références SSH2\disconnect_helper(), et SSH2\getResourceId().
Référencé par SSH2\__destruct(), et SSH2\close_channel().
|
protected |
Disconnect
int | $reason |
Références $data, Strings\packSSH2(), et SSH2\send_binary_packet().
Référencé par SSH2\disconnect(), SSH2\exec(), SSH2\filter(), SSH2\get_channel_packet(), SSH2\getServerPublicHostKey(), SSH2\key_exchange(), SSH2\login_helper(), SSH2\privatekey_login(), SSH2\read_remaining_bytes(), et SSH2\reset_connection().
enablePTY | ( | ) |
Enable request-pty when using exec()
public
enableQuietMode | ( | ) |
Enable Quiet Mode
Suppress stderr from output
public
enableSmartMFA | ( | ) |
Enables "smart" multi-factor authentication (MFA)
|
staticprivate |
Maps an encryption algorithm name to an instance of a subclass of .
string | $algorithm | Name of the encryption algorithm |
Références null.
|
private |
Maps an encryption algorithm name to the number of key bytes.
string | $algorithm | Name of the encryption algorithm |
Références null.
Référencé par SSH2\key_exchange().
exec | ( | $command, | |
callable | $callback = null |
||
) |
Execute Command
If $callback is set to false then ::get_channel_packet(self::CHANNEL_EXEC) will need to be called manually. In all likelihood, this is not a feature you want to be taking advantage of.
string | $command |
Références $output, $temp, SSH2\$terminal_modes, SSH2\$timeout, SSH2\$window_size, SSH2\close_channel(), SSH2\disconnect_helper(), SSH2\get_channel_packet(), SSH2\isAuthenticated(), Strings\packSSH2(), SSH2\send_binary_packet(), et true.
|
private |
Filter Binary Packets
Because some binary packets need to be ignored...
string | $payload | |
bool | $skip_channel_filter |
Références $data, $message, SSH2\$window_size, SSH2\disconnect_helper(), SSH2\get_channel_packet(), SSH2\isAuthenticated(), SSH2\key_exchange(), Strings\packSSH2(), SSH2\send_binary_packet(), Strings\shift(), et Strings\unpackSSH2().
|
protected |
Formats a log for printing
array | $message_log | |
array | $message_number_log | private |
Références $i, SSH2\$message_log, SSH2\$message_number_log, $output, et Strings\shift().
Référencé par SSH2\append_log(), et SSH2\getLog().
|
private |
Generates the SSH identifier
You should overwrite this method in your own class if you want to use another identifier
protected
Références SSH2\$identifier, et elseif.
Référencé par SSH2\connect().
|
protected |
Gets channel data
Returns the data as a string. bool(true) is returned if:
bool(false) is returned if:
int | $client_channel | |
bool | $skip_extended |
Références SSH2\$binary_packet_buffer, $data, $i, $result, $type, $value, SSH2\$window_resize, SSH2\$window_size, SSH2\close_channel(), SSH2\disconnect_helper(), SSH2\MASK_SHELL, SSH2\on_channel_open(), SSH2\send_binary_packet(), SSH2\send_channel_packet(), true, et Strings\unpackSSH2().
Référencé par SSH2\close_channel(), SSH2\exec(), SSH2\filter(), SSH2\initShell(), SFTP\partial_init_sftp_connection(), SSH2\ping(), SSH2\read(), SSH2\requestAgentForwarding(), SSH2\send_channel_packet(), et SSH2\startSubsystem().
|
private |
Return the channel to be used with read() / write()
Référencé par SSH2\read(), SSH2\reset(), et SSH2\write().
|
private |
getAlgorithmsNegotiated | ( | ) |
Return list of negotiated algorithms
Uses the same format as https://www.php.net/ssh2-methods-negotiated
Références SSH2\$compress, SSH2\$decompress, SSH2\$decryptName, SSH2\$encryptName, SSH2\$hmac_check_name, SSH2\$hmac_create_name, SSH2\$kex_algorithm, SSH2\$signature_format, et SSH2\connect().
getAuthMethodsToContinue | ( | ) |
Return the list of authentication methods that may productively continue authentication.
Références SSH2\$auth_methods_to_continue.
getBannerMessage | ( | ) |
Returns the banner message.
Quoting from the RFC, "in some jurisdictions, sending a warning message before authentication may be relevant for getting legal protection."
Références SSH2\$banner_message.
|
static |
Return existing connection
string | $id |
Références $id.
Référencé par Stream\parse_path().
getErrors | ( | ) |
getExitStatus | ( | ) |
Returns the exit status of an SSH command or false.
Références SSH2\$exit_status.
getLastError | ( | ) |
getLog | ( | ) |
Returns a log of the packets that have been sent and received.
Returns a string if NET_SSH2_LOGGING == self::LOG_COMPLEX, an array if NET_SSH2_LOGGING == self::LOG_SIMPLE and false if !defined('NET_SSH2_LOGGING')
public
Références SSH2\$message_number_log, et SSH2\format_log().
getResourceId | ( | ) |
Get Resource ID
We use {} because that symbols should not be in URL according to RFC. It will safe us from any conflicts, because otherwise regexp will match all alphanumeric domains.
Références $this.
Référencé par SSH2\__toString(), et SSH2\disconnect().
getServerAlgorithms | ( | ) |
Returns a list of algorithms the server supports
Références SSH2\$compression_algorithms_client_to_server, SSH2\$compression_algorithms_server_to_client, SSH2\$encryption_algorithms_client_to_server, SSH2\$encryption_algorithms_server_to_client, SSH2\$kex_algorithms, SSH2\$languages_client_to_server, SSH2\$languages_server_to_client, SSH2\$mac_algorithms_client_to_server, SSH2\$mac_algorithms_server_to_client, SSH2\$server_host_key_algorithms, et SSH2\connect().
getServerIdentification | ( | ) |
Return the server identification.
Références SSH2\$server_identifier, et SSH2\connect().
getServerPublicHostKey | ( | ) |
Returns the server public host key.
Caching this the first time you connect to a server and checking the result on subsequent connections is recommended. Returns false if the server signature is not signed correctly with the public host key.
Références $hash, $key, SSH2\$server_public_host_key, SSH2\$signature, $this, SSH2\connect(), SSH2\disconnect_helper(), AsymmetricKey\loadFormat(), RSA\SIGNATURE_PKCS1, et Strings\unpackSSH2().
getStdError | ( | ) |
|
static |
Returns a list of compression algorithms that phpseclib supports
Référencé par SSH2\key_exchange().
|
static |
Returns a list of symmetric key algorithms that phpseclib supports
Référencé par SSH2\key_exchange().
|
static |
Returns a list of host key algorithms that phpseclib supports
Référencé par SSH2\key_exchange().
|
static |
Returns a list of KEX algorithms that phpseclib supports
Références SSH2\$kex_algorithms.
Référencé par SSH2\key_exchange().
|
static |
Returns a list of MAC algorithms that phpseclib supports
Référencé par SSH2\key_exchange().
getWindowColumns | ( | ) |
Returns the number of columns for the terminal window size.
Références SSH2\$windowColumns.
getWindowRows | ( | ) |
Returns the number of rows for the terminal window size.
Références SSH2\$windowRows.
|
private |
Creates an interactive shell
Références SSH2\$terminal_modes, SSH2\$window_size, SSH2\get_channel_packet(), Strings\packSSH2(), et SSH2\send_binary_packet().
Référencé par SSH2\read(), et SSH2\write().
isAuthenticated | ( | ) |
Have you successfully been logged in?
Référencé par SSH2\exec(), SSH2\filter(), SSH2\ping(), SSH2\read(), SSH2\send_binary_packet(), et SSH2\write().
isConnected | ( | ) |
Is the connection still active?
isPTYEnabled | ( | ) |
Returns whether request-pty is enabled or not
Références SSH2\$request_pty.
isQuietModeEnabled | ( | ) |
Returns whether Quiet Mode is enabled or not
Références SSH2\$quiet_mode.
isTimeout | ( | ) |
Is timeout?
Did exec() or read() return because they timed out or because they encountered the end?
public
Références SSH2\$is_timeout.
Référencé par SFTP\partial_init_sftp_connection().
|
private |
Key Exchange
string | bool | $kexinit_payload_server | optional |
Références $data, SSH2\$decrypt, SSH2\$encrypt, SSH2\$exchange_hash, $g, SSH2\$kex_algorithms, $key, $params, SSH2\$preferred, SSH2\$server_host_key_algorithms, SSH2\$server_public_host_key, $temp, $type, DH\computeSecret(), EC\createKey(), DH\createKey(), DH\createParameters(), SSH2\disconnect_helper(), elseif, SSH2\encryption_algorithm_to_key_size(), SSH2\getSupportedCompressionAlgorithms(), SSH2\getSupportedEncryptionAlgorithms(), SSH2\getSupportedHostKeyAlgorithms(), SSH2\getSupportedKEXAlgorithms(), SSH2\getSupportedMACAlgorithms(), null, Strings\packSSH2(), SSH2\send_binary_packet(), Strings\shift(), Random\string(), Strings\unpackSSH2(), et SSH2\updateLogHistory().
Référencé par SSH2\connect(), et SSH2\filter().
|
private |
Login via keyboard-interactive authentication
See RFC4256 for details. This is not a full-featured keyboard-interactive authenticator.
string | $username | |
string | array | $password |
Références $password, SSH2\keyboard_interactive_process(), Strings\packSSH2(), et SSH2\send_binary_packet().
Référencé par SSH2\login_helper().
|
private |
Handle the keyboard-interactive requests / responses.
string|array | ...$responses |
Références $i, $key, SSH2\$last_interactive_response, $type, $value, Strings\packSSH2(), SSH2\send_binary_packet(), Strings\unpackSSH2(), et SSH2\updateLogHistory().
Référencé par SSH2\keyboard_interactive_login(), et SSH2\login_helper().
login | ( | $username, | |
$args | |||
) |
Login
The $password parameter can be a plaintext password, a |EC|DSA object, a object or an array
string | $username | |
string|AsymmetricKey|array[]|Agent|null | ...$args |
Références null, et SSH2\sublogin().
Référencé par SSH2\reconnect().
|
private |
Login Helper
{
Références $message, $password, $type, SSH2\connect(), SSH2\disconnect_helper(), false, Strings\is_stringable(), SSH2\keyboard_interactive_login(), SSH2\keyboard_interactive_process(), null, Strings\packSSH2(), SSH2\privatekey_login(), SSH2\send_binary_packet(), SSH2\ssh_agent_login(), Strings\unpackSSH2(), et SSH2\updateLogHistory().
Référencé par SSH2\sublogin().
|
staticprivate |
Maps an encryption algorithm name to an instance of a subclass of .
string | $algorithm | Name of the encryption algorithm |
|
private |
Helper function for agent->on_channel_open()
Used when channels are created to inform agent of said channel opening. Must be called after channel open confirmation received
private
Références $this.
Référencé par SSH2\get_channel_packet().
ping | ( | ) |
Pings a server connection, or tries to reconnect if the connection has gone down
Inspired by http://php.net/manual/en/mysqli.ping.php
Références SSH2\$window_size, SSH2\close_channel(), SSH2\get_channel_packet(), SSH2\isAuthenticated(), Strings\packSSH2(), SSH2\reconnect(), et SSH2\send_binary_packet().
|
private |
Login with an RSA private key
{
Références $hash, SSH2\$signature, $type, SSH2\disconnect_helper(), elseif, PrivateKey\getPublicKey(), Strings\packSSH2(), SSH2\send_binary_packet(), PrivateKey\sign(), RSA\SIGNATURE_PKCS1, Strings\unpackSSH2(), et SSH2\updateLogHistory().
Référencé par SSH2\login_helper(), et SSH2\ssh_agent_login().
read | ( | $expect = '' , |
|
$mode = self::READ_SIMPLE |
|||
) |
Returns the output of an interactive shell
Returns when there's a match for $expect, which can take the form of a string literal or, if $mode == self::READ_REGEX, a regular expression.
string | $expect | |
int | $mode |
Références $mode, SSH2\$timeout, SSH2\get_channel_packet(), SSH2\get_interactive_channel(), SSH2\initShell(), SSH2\isAuthenticated(), et Strings\shift().
|
private |
Read Remaining Bytes
int | $remaining_length |
Références $buffer, $temp, SSH2\disconnect_helper(), SSH2\MASK_LOGIN, et SSH2\reset_connection().
|
private |
In situ reconnect method
Références SSH2\$auth, $result, SSH2\connect(), SSH2\login(), et SSH2\reset_connection().
Référencé par SSH2\ping().
requestAgentForwarding | ( | ) |
Request agent forwarding of remote server
Références SSH2\get_channel_packet(), SSH2\get_open_channel(), Strings\packSSH2(), et SSH2\send_binary_packet().
reset | ( | ) |
Closes a channel
If read() timed out you might want to just close the channel and have it auto-restart on the next read() call
public
Références SSH2\close_channel(), et SSH2\get_interactive_channel().
|
protected |
Resets a connection for re-use
int | $reason | private |
Références SSH2\disconnect_helper().
Référencé par SSH2\read_remaining_bytes(), et SSH2\reconnect().
|
protected |
Sends Binary Packets
See '6. Binary Packet Protocol' of rfc4253 for more info.
string | $data | |
string | $logged |
Références $data, SSH2\$encrypt_block_size, $header, $start, $temp, SSH2\append_log(), class, Strings\increment_str(), SSH2\isAuthenticated(), et Random\string().
Référencé par SSH2\close_channel(), SSH2\disconnect_helper(), SSH2\exec(), SSH2\filter(), SSH2\get_channel_packet(), SSH2\initShell(), SSH2\key_exchange(), SSH2\keyboard_interactive_login(), SSH2\keyboard_interactive_process(), SSH2\login_helper(), SFTP\partial_init_sftp_connection(), SSH2\ping(), SSH2\privatekey_login(), SSH2\requestAgentForwarding(), SSH2\send_channel_packet(), et SSH2\startSubsystem().
|
protected |
Sends channel data
Spans multiple SSH_MSG_CHANNEL_DATAs if appropriate
int | $client_channel | |
string | $data |
Références $data, $temp, SSH2\get_channel_packet(), Strings\packSSH2(), SSH2\send_binary_packet(), et Strings\shift().
Référencé par SSH2\get_channel_packet(), et SSH2\write().
sendIdentificationStringFirst | ( | ) |
Send Identification String First
https://tools.ietf.org/html/rfc4253#section-4.2 says "when the connection has been established, both sides MUST send an identification string". It does not say which side sends it first. In theory it shouldn't matter but it is a fact of life that some SSH servers are simply buggy
public
sendIdentificationStringLast | ( | ) |
Send Identification String Last
https://tools.ietf.org/html/rfc4253#section-4.2 says "when the connection has been established, both sides MUST send an identification string". It does not say which side sends it first. In theory it shouldn't matter but it is a fact of life that some SSH servers are simply buggy
public
sendKEXINITFirst | ( | ) |
Send SSH_MSG_KEXINIT First
https://tools.ietf.org/html/rfc4253#section-7.1 says "key exchange begins by each sending sending the [SSH_MSG_KEXINIT] packet". It does not say which side sends it first. In theory it shouldn't matter but it is a fact of life that some SSH servers are simply buggy
public
sendKEXINITLast | ( | ) |
Send SSH_MSG_KEXINIT Last
https://tools.ietf.org/html/rfc4253#section-7.1 says "key exchange begins by each sending sending the [SSH_MSG_KEXINIT] packet". It does not say which side sends it first. In theory it shouldn't matter but it is a fact of life that some SSH servers are simply buggy
public
|
static |
setKeepAlive | ( | $interval | ) |
Set Keep Alive
Sends an SSH2_MSG_IGNORE message every x seconds, if x is a positive non-zero number.
int | $interval | public |
setPreferredAlgorithms | ( | array | $methods | ) |
Accepts an associative array with up to four parameters as described at https://www.php.net/manual/en/function.ssh2-connect.php
array | $methods | public |
Références $key, et SSH2\$preferred.
setTerminal | ( | $term | ) |
setTimeout | ( | $timeout | ) |
Set Timeout
$ssh->exec('ping 127.0.0.1'); on a Linux host will never return and will run indefinitely. setTimeout() makes it so it'll timeout. Setting $timeout to false or 0 will mean there is no timeout.
mixed | $timeout | public |
Références SSH2\$timeout.
setWindowColumns | ( | $value | ) |
Sets the number of columns for the terminal window size.
int | $value | public |
Références $value.
setWindowRows | ( | $value | ) |
setWindowSize | ( | $columns = 80 , |
|
$rows = 24 |
|||
) |
|
private |
Login with an ssh-agent provided key
string | $username | |
\phpseclib3\System\SSH\Agent | $agent |
Références SSH2\$agent, $key, et SSH2\privatekey_login().
Référencé par SSH2\login_helper().
startSubsystem | ( | $subsystem | ) |
Start a subsystem.
Right now only one subsystem at a time is supported. To support multiple subsystem's stopSubsystem() could accept a string that contained the name of the subsystem, but at that point, only one subsystem of each type could be opened. To support multiple subsystem's of the same name maybe it'd be best if startSubsystem() generated a new channel id and returns that and then that that was passed into stopSubsystem() but that'll be saved for a future date and implemented if there's sufficient demand for such a feature.
string | $subsystem |
Références SSH2\$window_size, SSH2\get_channel_packet(), Strings\packSSH2(), et SSH2\send_binary_packet().
stopSubsystem | ( | ) |
Stops a subsystem.
Références SSH2\close_channel().
|
protected |
Login Helper
string | $username | |
string | ...$args |
Références $key, $method, SSH2\connect(), Strings\is_stringable(), et SSH2\login_helper().
Référencé par SSH2\login().
|
private |
Référencé par SSH2\key_exchange(), SSH2\keyboard_interactive_process(), SSH2\login_helper(), et SSH2\privatekey_login().
write | ( | $cmd | ) |
Inputs a command into an interactive shell.
string | $cmd |
Références SSH2\get_interactive_channel(), SSH2\initShell(), SSH2\isAuthenticated(), et SSH2\send_channel_packet().
|
private |
Référencé par SSH2\ssh_agent_login().
|
protected |
Référencé par SSH2\reconnect().
|
private |
Référencé par SSH2\getAuthMethodsToContinue().
|
private |
|
private |
Référencé par SSH2\getBannerMessage().
|
private |
Référencé par SSH2\get_channel_packet().
|
protected |
|
private |
|
private |
|
private |
|
protected |
|
private |
Référencé par SSH2\getAlgorithmsNegotiated().
|
private |
|
private |
Référencé par SSH2\getServerAlgorithms().
|
private |
Référencé par SSH2\getServerAlgorithms().
|
staticprivate |
|
staticprivate |
|
protected |
Current Timeout
|
private |
Référencé par SSH2\getAlgorithmsNegotiated().
|
private |
|
private |
Référencé par SSH2\key_exchange().
|
private |
|
private |
|
private |
|
private |
Référencé par SSH2\getAlgorithmsNegotiated().
|
private |
|
private |
Référencé par SSH2\key_exchange().
|
private |
Référencé par SSH2\send_binary_packet().
|
private |
|
private |
|
private |
Référencé par SSH2\getServerAlgorithms().
|
private |
Référencé par SSH2\getServerAlgorithms().
|
private |
Référencé par SSH2\getAlgorithmsNegotiated().
|
private |
Référencé par SSH2\getErrors().
|
private |
Référencé par SSH2\key_exchange().
|
private |
Référencé par SSH2\getExitStatus().
$fsock |
Référencé par SSH2\connect().
|
private |
|
private |
|
private |
|
private |
Référencé par SSH2\getAlgorithmsNegotiated().
|
private |
|
private |
|
private |
Référencé par SSH2\getAlgorithmsNegotiated().
|
private |
|
private |
Référencé par SFTP\__construct(), SSH2\connect(), et Stream\parse_path().
|
private |
Référencé par SSH2\generate_identifier().
|
private |
|
private |
|
private |
|
private |
Référencé par SSH2\isTimeout().
|
private |
Keep Alive Interval
|
private |
Référencé par SSH2\getAlgorithmsNegotiated().
|
private |
Référencé par SSH2\getServerAlgorithms(), SSH2\getSupportedKEXAlgorithms(), et SSH2\key_exchange().
|
private |
|
private |
|
private |
|
private |
|
private |
Référencé par SSH2\getServerAlgorithms().
|
private |
Référencé par SSH2\getServerAlgorithms().
|
private |
Référencé par SSH2\keyboard_interactive_process().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Référencé par SSH2\getServerAlgorithms().
|
private |
Référencé par SSH2\getServerAlgorithms().
|
private |
Référencé par SSH2\format_log().
|
private |
Référencé par SSH2\format_log(), et SSH2\getLog().
|
private |
|
private |
|
private |
Référencé par SFTP\__construct(), SSH2\connect(), et Stream\parse_path().
|
private |
Référencé par SSH2\key_exchange(), et SSH2\setPreferredAlgorithms().
|
protected |
|
private |
Flag to suppress stderr from output
Référencé par SSH2\isQuietModeEnabled().
|
private |
|
private |
|
private |
Real-time log file wrap boolean
|
private |
|
private |
|
private |
Référencé par SSH2\isPTYEnabled().
|
private |
|
private |
|
private |
|
private |
|
protected |
|
private |
Référencé par SSH2\getServerAlgorithms(), et SSH2\key_exchange().
|
protected |
Référencé par SSH2\getServerIdentification().
|
private |
Référencé par SSH2\getServerPublicHostKey(), et SSH2\key_exchange().
|
private |
|
private |
Référencé par SSH2\getServerPublicHostKey(), et SSH2\privatekey_login().
|
private |
Référencé par SSH2\getAlgorithmsNegotiated().
|
private |
|
private |
|
private |
Référencé par SSH2\getStdError().
|
private |
Référencé par SSH2\setTerminal().
|
private |
Référencé par SSH2\exec(), et SSH2\initShell().
|
protected |
Timeout
Référencé par SFTP\__construct(), SSH2\connect(), SSH2\exec(), SSH2\read(), et SSH2\setTimeout().
|
private |
Référencé par SSH2\get_channel_packet().
|
protected |
|
private |
|
protected |
|
private |
Référencé par SSH2\getWindowColumns().
|
private |
Référencé par SSH2\getWindowRows().
const CHANNEL_AGENT_FORWARD = 4 |
const CHANNEL_EXEC = 1 |
const CHANNEL_KEEP_ALIVE = 5 |
const CHANNEL_SHELL = 2 |
const CHANNEL_SUBSYSTEM = 3 |
const LOG_COMPLEX = 2 |
Returns the message content
public
const LOG_MAX_SIZE = 1048576 |
Make sure that the log never gets larger than this
public
const LOG_REALTIME = 3 |
Outputs the content real-time
public
const LOG_REALTIME_FILE = 4 |
Dumps the content real-time to a file
public
const LOG_SIMPLE = 1 |
Returns the message numbers
public
const MASK_CONNECTED = 0x00000002 |
const MASK_CONSTRUCTOR = 0x00000001 |
#-
const MASK_LOGIN = 0x00000008 |
Référencé par SFTP\getSupportedVersions(), SFTP\precheck(), et SSH2\read_remaining_bytes().
const MASK_LOGIN_REQ = 0x00000004 |
const MASK_SHELL = 0x00000010 |
Référencé par SSH2\close_channel(), et SSH2\get_channel_packet().
const MASK_WINDOW_ADJUST = 0x00000020 |
const NET_SSH2_COMPRESSION_NONE = 1 |
#+ Compression Types
private No compression
const NET_SSH2_COMPRESSION_ZLIB = 2 |
zlib compression
const NET_SSH2_COMPRESSION_ZLIB_AT_OPENSSH = 3 |
zlib@ open ssh.c om
const READ_NEXT = 3 |
Returns whenever a data packet is received.
Some data packets may only contain a single character so it may be necessary to call read() multiple times when using this option
public
const READ_REGEX = 2 |
Returns when a string matching the regular expression $expect is found
public
const READ_SIMPLE = 1 |
Returns when a string matching $expect exactly is found
public