How to install php-pecl-ssh2 on AlmaLinux, Rocky Linux, Oracle Linux and RHEL

Bindings for the libssh2 library

License: PHP Vendor: Fedora Project http://pecl.php.net/package/ssh2

Availability

Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.

Distro Channel aarch64 Version
RHEL 7 Base 0.12

Description

Bindings to the functions of libssh2 which implements the SSH2 protocol. libssh2 is available from http://www.sourceforge.net/projects/libssh2

Built for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.

Install

Base RHEL 7

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/mo

Frequently 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.

Subscribe