OpenEuler22.03 LTS 升级openssh9.6p1解决openssh中高危漏洞(亲测有效)

因为openeuler 22.03 为rpm方式安装,所以需要事先制作rpm包

制作过程后续更新

一、备份配置文件
cp /etc/ssh/sshd_config /etc/ssh/sshd_config.20240222

二、上传并解压rpm压缩包

unzip -o openeuler-openssh-9.6p1.zip
三、安装openssh9.6p1

yum localinstall -y openssh-clients-9.6p1-oe2203.x86_64.rpm openssh-9.6p1-oe2203.x86_64.rpm openssh-server-9.6p1-oe2203.x86_64.rpm

四、重启sshd服务

systemctl restart sshd

五、报错处理
若报错159行有问题,将/etc/ssh/sshd_config第159行配置注释掉

相关推荐

  1. Ubuntu系统升级OpenSSH到特定版本(如9.8p1

    2024-02-23 03:42:04       20 阅读
  2. Linux:升级OpenSSLOpenSSH

    2024-02-23 03:42:04       33 阅读
  3. CentOS 7升级openssh9.6p1

    2024-02-23 03:42:04       51 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-02-23 03:42:04       98 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-02-23 03:42:04       106 阅读
  3. 在Django里面运行非项目文件

    2024-02-23 03:42:04       87 阅读
  4. Python语言-面向对象

    2024-02-23 03:42:04       96 阅读

热门阅读

  1. Python笔记-super().init(root)的作用

    2024-02-23 03:42:04       54 阅读
  2. git常用命令记录

    2024-02-23 03:42:04       44 阅读
  3. Unity架构师经验分享:基于状态机的逻辑控制

    2024-02-23 03:42:04       54 阅读
  4. golang GOPATH 和GOROOT

    2024-02-23 03:42:04       54 阅读
  5. 【动态规划题目讲解】洛谷P8392 Uplifting Excursion

    2024-02-23 03:42:04       54 阅读
  6. 函数——递归4(c++)

    2024-02-23 03:42:04       52 阅读
  7. Factory Method

    2024-02-23 03:42:04       52 阅读
  8. TCP协议

    TCP协议

    2024-02-23 03:42:04      40 阅读
  9. springboot使用PageHelper

    2024-02-23 03:42:04       58 阅读
  10. 分享一个治疗神经痛的药方

    2024-02-23 03:42:04       47 阅读
  11. python子域名收集工具

    2024-02-23 03:42:04       47 阅读
  12. QT TCP通讯客户端与服务端

    2024-02-23 03:42:04       51 阅读
  13. PTA笔记

    2024-02-23 03:42:04       55 阅读