Our features site is undergoing a refresh! Be sure to explore the revamped site and discover our latest product roadmap launching here on Monday, March 18th.

EA4 support for SSH2

Melanie shared this idea 8 years ago
Open Discussion

As a server administrator needing to use the SSH2 module for PHP, I would like to see cPanel offer SSH2 in EA4 and start maintaining this package including updates.

SSH2 is available in PECL but is broken on PHP 5.6 and PHP7 for SFTP connectivity:

https://bugs.php.net/bug.php?id=73597

Apparently due to some security fix:

https://bugs.php.net/bug.php?id=73192

Current stable version is 0.13 :

https://pecl.php.net/package/ssh2

I want .13-3 which includes the patch provided by the custom REMI repo:

https://rpms.remirepo.net/enterprise/7/php56/x86_64/php-pecl-ssh2-0.13-3.el7.remi.5.6.x86_64.rpm

For those reading, you can add intval($sftp) to work around the issue in .13 without the patched RPM.

Leave a Comment
 
Attach a file