ssh2

Bindings for the libssh2 library


Provides bindings to the functions of libssh2 which implements the SSH2 protocol.
libssh2 is available from http://libssh2.org/

License: PHP License

Latest releases

Version Release Download
1.4.1 2024-02-10 ssh2-1.4.1.tgz
1.4 2023-04-16 ssh2-1.4.tgz
1.3.1 2021-03-02 ssh2-1.3.1.tgz
1.3 2021-03-01 ssh2-1.3.tgz
1.2 2019-09-18 ssh2-1.2.tgz
Show all releases

Changelog

Version Message
1.4.1 - End zend_function_entry ssh2_functions list with PHP_FE_END [PR #67] (Gerdriaan Mulder)
- Remove implicit switch-case fallthrough [PR #66] (Gerdriaan Mulder)
- Windows build setup with GitHub Actions [PR #75] (Derick Rethans)
1.4 - Add ssh2_shell_resize function [PR #55] (jentian)
- Add ssh2_auth_pubkey to allow public and private keys as strings [PR #56] (Andreas Treichel)
1.3.1 - 1.3.1 release only fixed the PHP >= 8.0 requirement in the package.xml. No code changes.

Changes in 1.3:

- Add ssh2_send_eof() [PR #45] (Calvin Buckley)
- PHP stream cast function for SSH channel objects for stream_select() support. [PR #38] (Robert Wolf)
- Fix for PHP 7.4 and 8 [PR #44] (Andy Postnikov and Remi Collet)
- Fixed debug and disconnected callback [PR #37] (Piotr Rogowski)
- Various stability and memory issue fixes [PR #39, #41] (Robert Wolf)
- Segfault fix for bug #79757 [PR #43] (Konrad K)
- Various stability and bug fixes #79631, #63480, #80294, #75523, #80729 [PR #46, #47, #48, #49, #50 and #51] (Christoph M. Becker)
1.3 - Add ssh2_send_eof() [PR #45] (Calvin Buckley)
- PHP stream cast function for SSH channel objects for stream_select() support. [PR #38] (Robert Wolf)
- Fix for PHP 7.4 and 8 [PR #44] (Andy Postnikov and Remi Collet)
- Fixed debug and disconnected callback [PR #37] (Piotr Rogowski)
- Various stability and memory issue fixes [PR #39, #41] (Robert Wolf)
- Segfault fix for bug #79757 [PR #43] (Konrad K)
- Various stability and bug fixes #79631, #63480, #80294, #75523, #80729 [PR #46, #47, #48, #49, #50 and #51] (Christoph M. Becker)
1.2 - Fix multiple reflection/documentation disparities [PR #29] (Michael Moravec)
- Fix PHP7 port. Restored commented reference counting. [Dmitry Stogov]
- Updates for php_url structure changes [Daniel Ciochiu]
- Make the PR generic for all PHP7 versions [Jan Ehrhardt]
- Fix compatibility with PHP 7.3 [Jan Ehrhardt]
- Fix config.w32 for compatibility with OpenSSL 1.1.x [Anatol]
- Make static inline for php_ssh2_sftp_attr2ssb [Andy Postnikov]
- Enable 7.1-7.3 on Travis CI [Andy Postnikov]
Show complete changelog