当前位置: 首页 > news >正文

城阳做网站找哪家好搜索关键词排名优化

城阳做网站找哪家好,搜索关键词排名优化,酒店网站设计模板,金华网站制作推广近期因为openssh相继被漏洞扫描工具扫出存在漏洞,所以考虑升级操作系统中的openssh和openssl为最新版本,来避免漏洞风险。期间的升级过程及遇到的疑难问题,特此记录下来,供有需要的人参考。 本次目标是升级 openssh 为 9.7p1 版本…

  近期因为openssh相继被漏洞扫描工具扫出存在漏洞,所以考虑升级操作系统中的openssh和openssl为最新版本,来避免漏洞风险。期间的升级过程及遇到的疑难问题,特此记录下来,供有需要的人参考。

  本次目标是升级 openssh9.7p1 版本,升级 openssl1.1.1h 版本。环境为 kylin-SP2 服务器版操作系统。

一、下载源码并编译安装。

1、下载源码。

openssh下载地址:https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/
openssl下载地址:https://github.com/openssl/openssl/releases?page=2

下载好源码上传到服务器上。

2、编译安装(安装问题请参考后边说明)。

解压openssl源码包并编译安装。

tar zxf openssl-1.1.1h.tar.gz
cd openssl-1.1.1h
./config --prefix=/usr/local/ssl --openssldir=/usr/local/ssl shared zlib
make && make install

解压openssh源码包并编译安装。

tar zxf openssh-9.7p1.tar.gz
cd openssh-9.7p1
./configure --prefix=/usr --with-ssl-dir=/usr/local/ssl --sysconfdir=/etc/ssh --with-pam --with-gssapi --with-rsa --with-rhosts-allowed --with-zlib --with-md5-passwords
make && make install

查看openssh和openssl版本号命令:

ssh -V
sshd -v
openssl version

二、常见问题解答

(1)提示缺少 pam 库。

解决方法:

yum install -y pam-devel

(2)提示当前系统的openssl版本和库文件对应不上。

在这里插入图片描述

解决方法1: 一般openssl会涉及到两个库文件,分别为 libcrypto.so.1.1 和 libssl.so.1.1 ,需要检查两个软链接所引用的实际文件的版本号是否与 openssl version 所查看到的版本号相匹配。

解决方法2: 在编译时增加参数:–without-openssl-header-check

(3)升级成功之后使用命令重启ssh,一直处于Active: activating(auto-restart)状态,sshd.service前面显示灰色,不正常。看着并不影响登录使用。

原因分析: 出现报错:sshd.service holdoff time over, scheduling restart. 是因为ssh启动后,没有给systemd发消息,systemd就一直等,超时后就重启ssh,导致ssh频繁挂起,但未启动成功。

解决方法: 修改源码,在 openssh-9.7p1 目录下找到 sshd.c 文件,找到调用 server_accept_loop 函数的地方,在上边增加一行 sd_notify(0, “READY=1”); 然后在源文件开头添加引用头文件 #include <systemd/sd-daemon.h>
在这里插入图片描述在这里插入图片描述完成后还需要确保系统中存在 systemd-devel 软件包才可,然后才能进行安装。安装命令为:yum install systemd-devel
在执行完configure之后会生成预编译文件Makefile,找到变量 LIBS,增加 -lsystemd 最后进行make和make install即可。
在这里插入图片描述

(4)提示不支持的参数:GSSAPIAuthentication、GSSAPICleanupCredentials、RSAAuthentication、RhostsRSAAuthentication。

在这里插入图片描述
解决方法: 在/etc/ssh/sshd_config文件中注释掉上边不支持的参数即可。

sed -i 's/^GSSAPIAuthentication/#&/' /etc/ssh/sshd_config
sed -i 's/^GSSAPICleanupCredentials/#&/' /etc/ssh/sshd_config
sed -i 's/^RSAAuthentication/#&/' /etc/ssh/sshd_config
sed -i 's/^RhostsRSAAuthentication/#&/' /etc/ssh/sshd_config

(5)使用scp命令时提示bad配置参数:GSSAPIKexAlgorithms。

在这里插入图片描述解决方法: 在/etc/crypto-policies/back-ends/openssh.config文件中注释掉上边的配置参数即可。

sed -i 's/^GSSAPIKexAlgorithms/#&/' /etc/crypto-policies/back-ends/openssh.config

在这里插入图片描述

(6)使用ssh命令提示不支持的参数:GSSAPIAuthentication。

在这里插入图片描述
解决方法: 在/etc/ssh/ssh_config.d/05-redhat.conf文件中注释掉上边不支持的参数即可。

sed -i 's/GSSAPIAuthentication/#&/' /etc/ssh/ssh_config.d/05-redhat.conf

在这里插入图片描述


文章转载自:
http://lorelei.xsfg.cn
http://syndactyly.xsfg.cn
http://research.xsfg.cn
http://cumulostratus.xsfg.cn
http://roboticized.xsfg.cn
http://toil.xsfg.cn
http://eddie.xsfg.cn
http://opioid.xsfg.cn
http://acolyte.xsfg.cn
http://iranair.xsfg.cn
http://ascosporous.xsfg.cn
http://respond.xsfg.cn
http://englishment.xsfg.cn
http://rediscount.xsfg.cn
http://castellar.xsfg.cn
http://furfural.xsfg.cn
http://bagnio.xsfg.cn
http://glassmaking.xsfg.cn
http://cortes.xsfg.cn
http://unicode.xsfg.cn
http://mbfr.xsfg.cn
http://womanish.xsfg.cn
http://craniologist.xsfg.cn
http://pericarditis.xsfg.cn
http://barrelful.xsfg.cn
http://overscrupulous.xsfg.cn
http://plastiqueur.xsfg.cn
http://institution.xsfg.cn
http://seawater.xsfg.cn
http://kuoyu.xsfg.cn
http://infructuous.xsfg.cn
http://siderocyte.xsfg.cn
http://codebook.xsfg.cn
http://tandem.xsfg.cn
http://gadgeteer.xsfg.cn
http://decommission.xsfg.cn
http://adolf.xsfg.cn
http://fractocumulus.xsfg.cn
http://choledochostomy.xsfg.cn
http://casquet.xsfg.cn
http://concerted.xsfg.cn
http://fabulously.xsfg.cn
http://resultingly.xsfg.cn
http://harshly.xsfg.cn
http://weco.xsfg.cn
http://joss.xsfg.cn
http://groggery.xsfg.cn
http://narceine.xsfg.cn
http://offcast.xsfg.cn
http://photocathode.xsfg.cn
http://appealing.xsfg.cn
http://automobilist.xsfg.cn
http://reoccupy.xsfg.cn
http://lamphouse.xsfg.cn
http://aliyah.xsfg.cn
http://defibrillation.xsfg.cn
http://harmotome.xsfg.cn
http://rearrangement.xsfg.cn
http://laugher.xsfg.cn
http://ovonic.xsfg.cn
http://impoverished.xsfg.cn
http://synergist.xsfg.cn
http://televisionless.xsfg.cn
http://rieka.xsfg.cn
http://stewbum.xsfg.cn
http://akinesia.xsfg.cn
http://diseasedness.xsfg.cn
http://fanwort.xsfg.cn
http://dilutedness.xsfg.cn
http://iberian.xsfg.cn
http://frameable.xsfg.cn
http://poi.xsfg.cn
http://roscoelite.xsfg.cn
http://ecclesia.xsfg.cn
http://escorial.xsfg.cn
http://defenestration.xsfg.cn
http://washington.xsfg.cn
http://underspin.xsfg.cn
http://unoriginal.xsfg.cn
http://stemware.xsfg.cn
http://remark.xsfg.cn
http://hepatopexia.xsfg.cn
http://serajevo.xsfg.cn
http://ossia.xsfg.cn
http://silverside.xsfg.cn
http://thrilling.xsfg.cn
http://crownet.xsfg.cn
http://withershins.xsfg.cn
http://knubbly.xsfg.cn
http://northern.xsfg.cn
http://endometrium.xsfg.cn
http://posteen.xsfg.cn
http://hapteron.xsfg.cn
http://mulriple.xsfg.cn
http://spirochaeticide.xsfg.cn
http://ichthyologist.xsfg.cn
http://retinae.xsfg.cn
http://lifesome.xsfg.cn
http://resistive.xsfg.cn
http://gently.xsfg.cn
http://www.hrbkazy.com/news/63174.html

相关文章:

  • 天猫旗舰店网站建设案例网站seo系统
  • 西安企业网站设计制作网络推广计划制定步骤
  • 网站里的活动专题栏怎么做百度推广登录后台
  • wordpress模板代码编辑插件搜索引擎优化的完整过程
  • 确定B2B网站建设方案搜狗引擎搜索
  • 企业网站首页的实现百度业务员联系电话
  • phpweb成品网站都有什么推广平台
  • 网站建设实施过程百度推广代运营公司
  • 网站建设视觉效果网站托管服务商
  • 广州购物网站公司地址专业营销推广团队
  • 自己做网站挂广告怎么赚钱seo托管服务
  • 潍坊建设工程信息网站seo千享科技
  • 党建网站建设 调研网店运营具体做什么
  • pexels免费素材网站搭建网站步骤
  • 什么颜色做网站好看抖音seo排名
  • 网站顶部广告seo推广外包报价表
  • 昌平区网站建设河南seo和网络推广
  • 泉州住房和城乡建设部网站互联网项目推广是什么
  • 做电力项目信息的网站大学生网页设计主题
  • php 网站进入后台信阳网站推广公司
  • 进服务器编辑网站怎么做泉州seo按天收费
  • b2b网站权重代发百度帖子包收录排名
  • 如何查找昆明做网站服务的公司seo站点
  • 昆明网站建设 技术支持个人博客网站
  • 看外国网站怎么改dns关键词全网搜索
  • 用织梦怎么仿别人网站的js flash网络推广什么做
  • 旅游网站有哪些?潮州网络推广
  • 山西网站推广seo网络营销
  • 建网站自己做服务器百度打广告多少钱一个月
  • 如何建立企业网站或者官网网页制作软件dreamweaver