提示:文章写完后,目录可以自动生成,如何生成可参考右边的帮助文档
前言
centos7 升级openssh到8.8版本
`提示:本文仅为笔者学习记录
参考博客
主要参考博客 feichai 2019年05月22日于 废柴博客 发表
主要参考博客 配置ssh后crt连接问题
相关问题与操作
在第一篇博客中第五步升级openssh,编译安装中第三步执行错误可以更换为以下命令
3、./configure --prefix=/usr --sysconfdir=/etc/ssh --with-md5-passwords --with-privsep-path=/var/lib/sshd
更换为
./configure --prefix=/usr/ --sysconfdir=/etc/ssh --with-ssl-dir=/usr/local/ssl --with-zlib --with-md5-passwords --with-pam --with-ssl-engine
执行到修改配置文件步骤时,参考第二篇博客,在/etc/ssh/sshd_config加入HostKeyAlgorithms=+ssh-rsa,ssh-dss KexAlgorithms=+diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1