CentOS7_2 version of the low loophole upgrade openSSH ultimate chapter

1, Scene: the line on government projects, such as the inevitable is not open around Paul; what? Etc. What is covered? Here do not explain, go to Baidu look at it; straight into the subject, assessment center server vulnerability scanning, sweep out openSSH of 'security holes', 'remote code execution vulnerability' etc. -> It is understood that this is Since version is too low caused.

2, know the reason, we began to upgrade it! That is to say upgrade, in fact, is to re-install the higher version openSSH (for example, I chose the openssh-7.9p1.tar.gz, originally 6.6).

3, do not need to get what telnet, follow the steps I go 'cure'; of course, if the consequences are serious, get recommendations or telnet little insurance.

4, the required package: Download

5, start the installation procedure

第一步:
    将gcc-rpm放入服务器/usr/local/src路径下的gcc-rpm文件夹
第二步:
    键入命令 cd ../usr/local/src/gcc-rpm
    键入命令 rpm -ivh --nodeps --force *.rpm
第三步:
    将openssh-7.9p1.tar.gz放入服务器/usr/local/src路径下
    键入命令 tar -zxvf openssh-7.9p1.tar.gz
    键入命令 cd openssh-7.9p1
    键入命令 ./configure --prefix=/usr --sysco

Guess you like

Origin blog.csdn.net/qq_31122833/article/details/102852004