Skip to content

whisshe/upgradeOpenSSH

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

upgradeOpenSSH

一键升级CentOS 6/7上的OpenSSH到新版本

使用方法

# 选择其中的序号进行升级
[root@localhost upgradeOpenSSH]# ./upgradeOpenSSH
 =================================================
     1. openssh7.8p1 with openssl1.0.2p
     2. openssh8.0p1 with openssl1.1.1g
     3. openssh8.2p1 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

About

一键升级CentOS 7上的OpenSSH到7.8p1

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages