How to install autossh on AlmaLinux, Rocky Linux, Oracle Linux and RHEL
Utility to autorestart SSH tunnels
Availability
Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.
| Distro | Channel | x86_64 | Version |
|---|---|---|---|
| RHEL 10 | Base | 1.4g | |
| RHEL 8 | Base | 1.4g |
Description
autossh is a utility to start and monitor an ssh tunnel. If the tunnel dies or stops passing traffic, autossh will automatically restart it.
Built for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.
Install
Base
RHEL 8, 10
autossh on AlmaLinux / Rocky Linux / Oracle Linux / RHEL 8, 10
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install autossh
Package downloads require an active GetPageSpeed subscription — one repository for autossh and thousands more packages for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.
Subscribe — from $10/moFrequently asked questions
How do I install autossh on AlmaLinux, Rocky Linux, Oracle Linux and RHEL?
Add the GetPageSpeed repository, then install the autossh package with your system package manager.
Which Enterprise Linux versions is autossh available for?
autossh is available for RHEL 8, 10.