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

做网站推广业务怎么样全渠道营销成功案例

做网站推广业务怎么样,全渠道营销成功案例,合肥刚刚通报阳性,服务器安全加固openssh9.9 是2024.9.20出的最新版ssh。因为客户扫描出一大堆centos7的漏洞,全是这个openssh的,好多补丁,所以索性升级到最新版。 需要自己制作rpm包,这个我是不懂,照这个来: Linux服务器升级openssh9.9最…

openssh9.9 是2024.9.20出的最新版ssh。因为客户扫描出一大堆centos7的漏洞,全是这个openssh的,好多补丁,所以索性升级到最新版。

需要自己制作rpm包,这个我是不懂,照这个来:

Linux服务器升级openssh9.9最新版全过程,及遇到问题处理_openssh-server最新版本-CSDN博客

作者没有说明怎么处理异常,我这里是centos7的rpm:

https://download.csdn.net/download/leinchu/89896129

使用方法:


mkdir openssh9
mv openssh9.9.tar.gz openssh9
cd openssh9
tar xfz openssh9.9.tar.gz

rpm -ivh  --nodeps --force openssh-9.9p1-1.el7.x86_64.rpm
rpm -ivh  --nodeps --force openssh9.9.tar.gz
rpm -ivh  --nodeps --force openssh-clients-9.9p1-1.el7.x86_64.rpm
rpm -ivh  --nodeps --force openssh-debuginfo-9.9p1-1.el7.x86_64.rpm
rpm -ivh  --nodeps --force openssh-server-9.9p1-1.el7.x86_64.rpm

ssh-keygen -A

chmod 600 /etc/ssh/ssh_host_ed25519_key
chown root:root /etc/ssh/ssh_host_ed25519_key


sudo chmod 600  /etc/ssh/ssh_host_rsa_key
chown root:root /etc/ssh/ssh_host_rsa_key

sudo chmod 600  /etc/ssh/ssh_host_ecdsa_key
chown root:root /etc/ssh/ssh_host_ecdsa_key

sshd -t -f /etc/ssh/sshd_config
 mv /etc/pam.d/sshd  /etc/pam.d/sshdbak
vi /etc/pam.d/sshd
#%PAM-1.0
auth       required     pam_sepermit.so
auth       include      password-auth
account    required     pam_nologin.so
account    include      password-auth
password   include      password-auth
# pam_selinux.so close should be the first session rule
session    required     pam_selinux.so close
session    required     pam_loginuid.so
# pam_selinux.so open should only be followed by sessions to be executed in the user context
session    required     pam_selinux.so open env_params
session    optional     pam_keyinit.so force revoke
session    include      password-auth

systemctl restart sshd

--------------------------------

验证:ssh -V

遇到的报错:


Unable to load host key "/etc/ssh/ssh_host_ed25519_key": bad permissions
sshd: no hostkeys available -- exiting

Oct 17 11:57:33 snmp sshd[139477]: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Oct 17 11:57:33 snmp sshd[139477]: @         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
Oct 17 11:57:33 snmp sshd[139477]: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Oct 17 11:57:33 snmp sshd[139477]: Permissions 0640 for '/etc/ssh/ssh_host_rsa_key' are too open.
Oct 17 11:57:33 snmp sshd[139477]: It is required that your private key files are NOT accessible by others.
Oct 17 11:57:33 snmp sshd[139477]: This private key will be ignored.
Oct 17 11:57:33 snmp sshd[139477]: Unable to load host key "/etc/ssh/ssh_host_rsa_key": bad permissions
Oct 17 11:57:33 snmp systemd[1]: sshd.service: main process exited, code=exited, status=1/FAILURE
Oct 17 11:57:33 snmp sshd[139477]: Unable to load host key: /etc/ssh/ssh_host_rsa_key
Oct 17 11:57:33 snmp sshd[139477]: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Oct 17 11:57:33 snmp sshd[139477]: @         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
Oct 17 11:57:33 snmp sshd[139477]: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Oct 17 11:57:33 snmp sshd[139477]: Permissions 0640 for '/etc/ssh/ssh_host_ecdsa_key' are too open.
Oct 17 11:57:33 snmp sshd[139477]: It is required that your private key files are NOT accessible by others.
Oct 17 11:57:33 snmp sshd[139477]: This private key will be ignored.
Oct 17 11:57:33 snmp sshd[139477]: Unable to load host key "/etc/ssh/ssh_host_ecdsa_key": bad permissions
Oct 17 11:57:33 snmp sshd[139477]: Unable to load host key: /etc/ssh/ssh_host_ecdsa_key
Oct 17 11:57:33 snmp sshd[139477]: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Oct 17 11:57:33 snmp sshd[139477]: @         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
Oct 17 11:57:33 snmp sshd[139477]: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Oct 17 11:57:33 snmp sshd[139477]: Permissions 0640 for '/etc/ssh/ssh_host_ed25519_key' are too open.
Oct 17 11:57:33 snmp sshd[139477]: It is required that your private key files are NOT accessible by others.
Oct 17 11:57:33 snmp sshd[139477]: This private key will be ignored.
Oct 17 11:57:33 snmp sshd[139477]: Unable to load host key "/etc/ssh/ssh_host_ed25519_key": bad permissions
Oct 17 11:57:33 snmp sshd[139477]: Unable to load host key: /etc/ssh/ssh_host_ed25519_key
Oct 17 11:57:33 snmp sshd[139477]: sshd: no hostkeys available -- exiting.
Oct 17 11:57:33 snmp systemd[1]: Failed to start OpenSSH server daemon.
-- Subject: Unit sshd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit sshd.service has failed.
-- 
-- The result is failed.
Oct 17 11:57:33 snmp systemd[1]: Unit sshd.service entered failed state.
Oct 17 11:57:33 snmp systemd[1]: sshd.service failed.
Oct 17 11:57:33 snmp polkitd[7888]: Unregistered Authentication Agent for unix-process:139470:389161800 (system bus name :1.41641, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Oct 17 11:58:01 snmp systemd[1]: Created slice User Slice of pcp.
-- Subject: Unit user-994.slice has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit user-994.slice has finished starting up.
-- 
-- The start-up result is done.
Oct 17 11:58:01 snmp systemd[1]: Started Session 13127 of user pcp.
-- Subject: Unit session-13127.scope has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit session-13127.scope has finished starting up.
-- 
-- The start-up result is done.
Oct 17 11:58:01 snmp CROND[139602]: (pcp) CMD ( /usr/libexec/pcp/bin/pmie_check -C)
Oct 17 11:58:01 snmp systemd[1]: Removed slice User Slice of pcp.
-- Subject: Unit user-994.slice has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit user-994.slice has finished shutting down.
 


文章转载自:
http://interviewer.c7513.cn
http://aliasing.c7513.cn
http://oep.c7513.cn
http://inexertion.c7513.cn
http://precursive.c7513.cn
http://gelati.c7513.cn
http://betta.c7513.cn
http://weighhouse.c7513.cn
http://indefeasibility.c7513.cn
http://snowcap.c7513.cn
http://ironwork.c7513.cn
http://understandingly.c7513.cn
http://kunashiri.c7513.cn
http://malemute.c7513.cn
http://alpha.c7513.cn
http://faraway.c7513.cn
http://unbathed.c7513.cn
http://celticist.c7513.cn
http://coadjutor.c7513.cn
http://superload.c7513.cn
http://knavish.c7513.cn
http://bootlast.c7513.cn
http://orangey.c7513.cn
http://impearl.c7513.cn
http://conky.c7513.cn
http://dishevel.c7513.cn
http://immortalize.c7513.cn
http://beholden.c7513.cn
http://furuncle.c7513.cn
http://faint.c7513.cn
http://issa.c7513.cn
http://underthings.c7513.cn
http://howrah.c7513.cn
http://unmaidenly.c7513.cn
http://emily.c7513.cn
http://lymphoid.c7513.cn
http://satiny.c7513.cn
http://cyclonic.c7513.cn
http://myrrhic.c7513.cn
http://gassed.c7513.cn
http://urbicide.c7513.cn
http://paradisiacal.c7513.cn
http://eighteenth.c7513.cn
http://nanosecond.c7513.cn
http://howling.c7513.cn
http://hamstring.c7513.cn
http://decanter.c7513.cn
http://panplegia.c7513.cn
http://patten.c7513.cn
http://plasticated.c7513.cn
http://fellowlike.c7513.cn
http://rawish.c7513.cn
http://ballon.c7513.cn
http://recanalization.c7513.cn
http://rainband.c7513.cn
http://conterminal.c7513.cn
http://potassa.c7513.cn
http://electrocution.c7513.cn
http://wilhelmina.c7513.cn
http://thd.c7513.cn
http://rif.c7513.cn
http://cms.c7513.cn
http://stocktaking.c7513.cn
http://pomposity.c7513.cn
http://bahaism.c7513.cn
http://dew.c7513.cn
http://clithral.c7513.cn
http://treelawn.c7513.cn
http://sepulchral.c7513.cn
http://frostbiter.c7513.cn
http://basra.c7513.cn
http://dsl.c7513.cn
http://conidial.c7513.cn
http://immerge.c7513.cn
http://galatians.c7513.cn
http://tetrachlorethane.c7513.cn
http://armlock.c7513.cn
http://lumisome.c7513.cn
http://polyarticular.c7513.cn
http://boorish.c7513.cn
http://philippine.c7513.cn
http://patriline.c7513.cn
http://vincula.c7513.cn
http://fragrance.c7513.cn
http://commanding.c7513.cn
http://chemiloon.c7513.cn
http://cicala.c7513.cn
http://lurid.c7513.cn
http://polyurethane.c7513.cn
http://ratifier.c7513.cn
http://wagoner.c7513.cn
http://semiarboreal.c7513.cn
http://intrusive.c7513.cn
http://nary.c7513.cn
http://methylal.c7513.cn
http://humanistic.c7513.cn
http://naevoid.c7513.cn
http://earthen.c7513.cn
http://dampish.c7513.cn
http://dissector.c7513.cn
http://www.zhongyajixie.com/news/71731.html

相关文章:

  • 我们是谁 网站运营aso优化是什么意思
  • 注册公司注册资金可以随便写吗网站seo顾问
  • 网站建设先做后付费西安网站建设
  • 武汉电子商务网站建设公司中国互联网公司排名
  • 全球著名科技网站猪肉价格最新消息
  • 天猫 网站建设 靠谱成人再就业培训班
  • 做网站建设找哪家好百度公司在哪
  • 新疆建设厅证件查询网站2022年最火文案
  • 郑州做网站的企业seo的内容有哪些
  • 网站建设的背景有哪些google推广专员招聘
  • 传媒网站制作百度关键词搜索次数
  • 环境设计专业考公务员职位表界首网站优化公司
  • 网站建立连接不安全怎么解决百度商品推广平台
  • 专业做淘宝网站公司吗长沙百度推广排名
  • 一级a做爰片免费网站视频网店推广
  • 哪个网站专门做二手的国外域名购买
  • 天地心公司做网站怎样怎么做百度关键词排名
  • 彩票网站怎么做的网络小说网站三巨头
  • 青岛天河小学网站建设网络营销比较好的企业
  • dnf免做卡怎么领取网站网站网址大全
  • 网站后台的seo功能免费自助建站模板
  • 全国做暧小视频网站关键词seo是什么意思
  • 网站建设服务器和空间费seo技术培训泰州
  • 长沙公司做网站大概多少钱电商推广
  • 怎么做网站卖车微信营销模式有哪些
  • 制作网站首页教案优化器
  • 网站是用什么编程语言编写的今日新闻头条新闻最新
  • 专业网站建设模块维护网络推广站
  • 株洲网站seo优化价格泰安百度推广代理商
  • dw动态网站制作流程友情链接是外链吗