服务器需在能在上网环境下
# upgradeOpenSSH
一键升级CentOS7上的OpenSSH 到新版本
## 使用方法
# [root@localhost upgradeOpenSSH]# chmod -R 777 /upgradeOpenSSH
```shell
# 选择其中的序号进行升级
[root@localhost upgradeOpenSSH]# ./upgradeOpenSSH
=================================================
1. openssh7.8p1 with openssl1.0.2p
2. openssh8.0p1 with openssl1.1.1g
3. openssh8.8p1 with openssl1.1.1g
q/quit to quit this menu
=================================================
choose the order number to upgrade:
```
## 脚本运行完后
```
source /etc/profile.d/openssh.sh
或者重新开一个新的ssh连接
然后即可检查ssh是否升级成功
ssh -V
点击下方链接下载:
CentOS7一键升级Openssh8.8p1shell脚本