mirror of
https://github.com/php/pecl-networking-ssh2.git
synced 2026-03-23 22:52:06 +01:00
478edd029a7cce7fcbec452ee640eb01a20bcbad
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.
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
Languages
C
90.9%
PHP
6.4%
M4
1.2%
JavaScript
1.1%
Shell
0.4%