View this package for all CentOS/RHEL versions →
How to install php-pecl-ssh2 in CentOS/RHEL 7 (x86_64)
Bindings for the libssh2 library
Install
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm sudo yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm sudo yum -y install php-pecl-ssh2
Description
Bindings to the libssh2 library which provide access to resources (shell, remote exec, tunneling, file transfer) on a remote machine using a secure cryptographic transport. Documentation: http://php.net/ssh2 Package built for PHP 8.4.
Compatibility
This package is compatible with all RHEL-based distributions, including CentOS, AlmaLinux, Oracle Linux, Rocky Linux, etc.
RPMs
| Package | Size | Built | Changes |
|---|---|---|---|
| php-pecl-ssh2-1.5.0-1.el7.x86_64 | 39 KiB | 2026-08-13 |
Danila Vershinin - Build against the Remi-compatible php84 SCL for EL7 · - Restore the EL7-compatible PECL tarball layout and system libssh2 dependency |