mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/boypt/openssh-rpms.git
synced 2026-09-20 08:03:38 +08:00
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.
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, andsshd-keygen.service. - Two specs available:
openssh.spec(default, systemd) andopenssh.initv.spec(SysVinit), selected via theSPECFILEenv var. - OpenSSL mode: system OpenSSL >= 3 is used directly
(
WITH_OPENSSL=1), otherwise OpenSSL is built statically (WITH_OPENSSL=2). Override via env, seeversion.env.
After installing the RPMs:
systemctl enable --now sshd
Versions come from version.env. For usage and supported distros see
the root README.md.