SSH远程连接报错"OpenSSL version mismatch build against "

  1. 环境查看
    系统环境
# cat /etc/redhat-release 
Rocky Linux release 9.3 (Blue Onyx)
# uname -a
Linux RockyEs02003082 5.14.0-362.18.1.el9_3.0.1.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Feb 11 13:49:23 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux 
  1. 故障现象
    无法远程ssh服务器22端口未启动
    日志报错
# cat /var/log/messages
openssl version mismatch build against

image

  1. 故障原因
    openssh版本不匹配
  2. 解决故障
    重新安装openssh服务
# yum -y install openssh-server
posted @ 2025-06-25 10:56  minseo  阅读(160)  评论(0)    收藏  举报