升级前的准备工作:
开启服务器的telnet 因为在升级过程中可能导致ssh无法使用。
下载升级软件:
Tags · openssh/openssh-portable · GitHub
安装依赖
yum install -y autoconf automake libtool
yum install -y zlib-devel openssl-devel
安装
unzip openssh-portable-V_8_9_P1.zip
cd openssh-portable-V_8_9_P1
autoreconf
./configure
make
# make tests
make install
然后reboot重启机器
查看版本
ssh -V
sshd -V