How to install php-pecl-ssh2 on AlmaLinux, Rocky Linux, Oracle Linux and RHEL
Bindings for the libssh2 library
Availability
Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.
| Distro | Channel | x86_64 | Version |
|---|---|---|---|
| RHEL 7 | Base | 1.5.0 |
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.
Built for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.
Install
php-pecl-ssh2 on CentOS 7 / RHEL 7
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
Package downloads require an active GetPageSpeed subscription — one repository for php-pecl-ssh2 and thousands more packages for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.
Subscribe — from $10/moFrequently asked questions
How do I install php-pecl-ssh2 on AlmaLinux, Rocky Linux, Oracle Linux and RHEL?
Add the GetPageSpeed repository, then install the php-pecl-ssh2 package with your system package manager.
Which Enterprise Linux versions is php-pecl-ssh2 available for?
php-pecl-ssh2 is available for RHEL 7.