Christoph M. Becker 478edd029a Fix #80729: ssh2_shell() streams are not stream_select()able
On Windows, the socket type is not an `int` but rather `SOCKET` which
is actually `unsigned int` on x86 and `unsigned __int64` on x64.  To
cater to this type mismatch, PHP offers the portable `php_socket_t` (at
least as of PHP 5.0.0).  We use it for `php_ssh2_session_data` as well.
2021-02-10 18:53:45 +01:00
2020-09-10 15:34:17 +02:00
2018-06-30 17:03:54 +02:00
2020-10-30 12:45:25 -03:00
2016-03-25 09:10:34 +01:00
2012-06-13 08:06:22 +00:00

WARNING

The extension in the master branch is not in a state you should deploy on a production server.

ssh2

Bindings for the libssh2 library.

Provides bindings to the functions of libssh2 which implements the SSH2 protocol.

The ssh2 extension at the PECL Repository website

The current master code will only compile with PHP7. To compile for PHP5 see the php5 branch.

Documentation

For documentation of the functions that this extension provides can be found here: http://www.php.net/ssh2

Contribute

Your contributions and bugreports are highly appreciated. To contribute, fork and create a pull request. To report a bug use the PHP Bug Tracking System

Description
⚠️ ARCHIVED: Original GitHub repository no longer exists. Preserved as backup on 2026-01-22T16:23:34.244Z
Readme 687 KiB
Languages
C 90.9%
PHP 6.4%
M4 1.2%
JavaScript 1.1%
Shell 0.4%