Loading... ``` # 下载半编译文件(只剩下make install) cd /root wget https://vip.123pan.cn/1815238395/download/openssh/9.6/upgrade-from-centos79-to-openssh9.6p1.tar.gz tar xzvf openssh-upgrade-file.tar.gz # 卸载已有软件 yum remove -y openssl openssl-devel openssh # 安装openssl1.1.1v cd /root/openssl-1.1.1v make install # 安装openssh-9.6 cd /root/openssh-9.6p1 mv /etc/ssh /etc/ssh.bak make install echo "PermitRootLogin yes" >> /etc/ssh/sshd_config cp -a contrib/redhat/sshd.init /etc/init.d/sshd # 测试 systemctl daemon-reload systemctl restart sshd ``` 最后修改:2024 年 05 月 11 日 © 允许规范转载 赞 如果觉得我的文章对你有用,请随意赞赏