Files
openssh-rpms/el7/README.md
boypt 5235c2cf1d docs: trim el5/el6/el7 READMEs to per-dir specifics
Drop stale hardcoded versions (point to version.env) and content already
covered by the root README; fix el7 socket-activation wording, document
the openssh.initv.spec variant and SPECFILE switch.
2026-08-24 14:14:30 +08:00

811 B

EL7+ Build Tree (el7/)

RPM spec for backporting OpenSSH on Enterprise Linux 7 and newer (EL7/EL8/EL9 incl. RHEL, CentOS, Rocky, AlmaLinux) using native systemd services.

Notes

  • Installs systemd units into %{_unitdir}: sshd.service, sshd.socket (socket activation), sshd@.service, and sshd-keygen.service.
  • Two specs available: openssh.spec (default, systemd) and openssh.initv.spec (SysVinit), selected via the SPECFILE env var.
  • OpenSSL mode: system OpenSSL >= 3 is used directly (WITH_OPENSSL=1), otherwise OpenSSL is built statically (WITH_OPENSSL=2). Override via env, see version.env.

After installing the RPMs:

systemctl enable --now sshd

Versions come from version.env. For usage and supported distros see the root README.md.