Centos7编译安装OpenSSH包含OpenSSL
相关下载地址https://mirrors.aliyun.com/openssh/portable/openssh-9.9p2.tar.gz https://github.com/openssl/openssl/releases/download/openssl-3.4.1/openssl-3.4.1.tar.gz http://www.zlib.net/fossils/zlib-1.3.1.ta
相关下载地址https://mirrors.aliyun.com/openssh/portable/openssh-9.9p2.tar.gz https://github.com/openssl/openssl/releases/download/openssl-3.4.1/openssl-3.4.1.tar.gz http://www.zlib.net/fossils/zlib-1.3.1.ta
采用openssh-rpms脚本来构建带openssl的rpm包。来源https://github.com/boypt/openssh-rpms最新版本OpenSSH 9.9p2OpenSSL 3.0.16本站地址openssh-rpms-main.zip1、解压,并赋予权限unzip openssh-rpms-main.zip -d /opt cd /opt/openssh-rpms-main/
制作RPM步骤1、安装相关依赖yum -y install rpm-build yum -y install gcc make pcre-devel openssl-devel yum -y install pam-devel yum -y install krb5-devel其他备用yum -y install vim yum -y install yum-utils2、进入root用户目录,建