第一步:上传离线的openssh压缩包
https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-8.8p1.tar.gz
第二步:解压
tar zxvf openssh-8.8p1.tar.gz
第三步: 编译
./configure --prefix=/usr --sysconfdir=/etc/ssh --with-md5-passwords --with-pam --with-zlib --with-tcp-wrappers --with-ssl-dir=/usr/local/ssl --without-hardening
make && make install
第四步:重启
systemctl restart sshd
第五步:查看版本
ssh -V