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

北京移动网站建设镇江seo优化

北京移动网站建设,镇江seo优化,制作网页游戏的软件,网页设计图片排版怎么设置上一篇“【OpenSSH升级】无论密码输入正确与否总是登录失败(error: Could not get shadow information for root)”总结了CentOS7上的openssh从7.4升级到9.4之后,密码认证失败问题,这里再总结一下证书认证失效问题。 大多数情况下…

上一篇“【OpenSSH升级】无论密码输入正确与否总是登录失败(error: Could not get shadow information for root)”总结了CentOS7上的openssh从7.4升级到9.4之后,密码认证失败问题,这里再总结一下证书认证失效问题。

大多数情况下,可能遇不到这个问题,因为我将root用户锁了(也就是密码肯定用不了),然后sshd_config配置为证书和密码认证均可:

PubkeyAuthentication yes
AuthorizedKeysFile      .ssh/authorized_keysPasswordAuthentication yes

突然发现,证书认证失效了,还以为是如下问题(便使用ssh-ed25519重新生成秘钥进行配置,但是仍然无法成功登录):

=========================================================================

高版本openssh PublicKey加密算法问题

1、使用ssh-rsa加密算法报错
userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedAlgorithms [preauth]
2、网上很多说在sshd_config中配置中增加ssh-rsa的支持,但是并不生效:
PubkeyAcceptedAlgorithms +ssh-rsa

解决:使用加密算法(默认生成到~/.ssh
ssh-keygen -t ssh-ed25519
cat id_ed25519.pub >>authorized_keys 
将id_ed25519下载到客户端进行配置。以securecrt为例:
新建会话,右键Properties-SSH2-Authentication-PublicKey(选中)-Properties(右侧),Public Key Properties的弹出面板中选则“Use session public key setting”,下方选择下载到客户端本地的Public Key 文件。

=========================================================================

最后只能查看查看系统日志(遇到问题,直接查看问题日志,而不是瞎猜  ---此乃解决问题的金科玉律):

2023-12-01T16:40:10.371531+08:00|info|sshd[2517662]|User root not allowed because account is locked
2023-12-01T16:40:10.617750+08:00|info|sshd[2517662]|userauth_pubkey: signature algorithm ssh-rsa not in PubkeyAcceptedAlgorithms [preauth]
2023-12-01T16:40:16.472316+08:00|err|sshd[2517662]|error: Could not get shadow information for NOUSER
2023-12-01T16:40:16.498786+08:00|info|sshd[2517662]|Failed password for invalid user root from 192.168.xx.xxx port 22123 ssh2
2023-12-01T16:40:18.346792+08:00|err|sshd[2517662]|error: Received disconnect from 192.168.14.103 port 22123:14: Unable to authenticate using any of the configured authentication methods.  [preauth]
2023-12-01T16:40:18.347086+08:00|info|sshd[2517662]|Disconnected from invalid user root 192.168.14.103 port 22123 [preauth]

上述日志一眼开门的解释,果断解锁root用户:usermod -U root,再次登录认证成功。 


文章转载自:
http://dinncoalias.bkqw.cn
http://dinncoformulation.bkqw.cn
http://dinncophene.bkqw.cn
http://dinncodealfish.bkqw.cn
http://dinncoalongside.bkqw.cn
http://dinncoborborygmus.bkqw.cn
http://dinncosnaky.bkqw.cn
http://dinncohyperosmolarity.bkqw.cn
http://dinncoklansman.bkqw.cn
http://dinncoshop.bkqw.cn
http://dinncoanchusin.bkqw.cn
http://dinncoreservation.bkqw.cn
http://dinncocongeniality.bkqw.cn
http://dinncoprude.bkqw.cn
http://dinncomutafacient.bkqw.cn
http://dinncoswitzerite.bkqw.cn
http://dinncokelleg.bkqw.cn
http://dinncoovercall.bkqw.cn
http://dinncoseisin.bkqw.cn
http://dinncometaphone.bkqw.cn
http://dinncorelume.bkqw.cn
http://dinncofrate.bkqw.cn
http://dinncoturgor.bkqw.cn
http://dinncococa.bkqw.cn
http://dinncocinefilm.bkqw.cn
http://dinncocashless.bkqw.cn
http://dinncoserology.bkqw.cn
http://dinncoflautist.bkqw.cn
http://dinncochoose.bkqw.cn
http://dinncodenunciative.bkqw.cn
http://dinncommpi.bkqw.cn
http://dinncoerse.bkqw.cn
http://dinncoendlessly.bkqw.cn
http://dinncotouched.bkqw.cn
http://dinncocayenne.bkqw.cn
http://dinncopsychologue.bkqw.cn
http://dinncokeno.bkqw.cn
http://dinncoepibiont.bkqw.cn
http://dinncomindless.bkqw.cn
http://dinncobedu.bkqw.cn
http://dinncoresort.bkqw.cn
http://dinncomanhattanize.bkqw.cn
http://dinncocooperativity.bkqw.cn
http://dinncogradienter.bkqw.cn
http://dinncotelegenesis.bkqw.cn
http://dinncogmbh.bkqw.cn
http://dinncobullfinch.bkqw.cn
http://dinncorecto.bkqw.cn
http://dinncogrammy.bkqw.cn
http://dinncohateworthy.bkqw.cn
http://dinncocatechesis.bkqw.cn
http://dinncochromomere.bkqw.cn
http://dinncoheadway.bkqw.cn
http://dinncowayfare.bkqw.cn
http://dinncodiscretely.bkqw.cn
http://dinncominimally.bkqw.cn
http://dinncodisordered.bkqw.cn
http://dinncozionward.bkqw.cn
http://dinncoxiphoid.bkqw.cn
http://dinncolevator.bkqw.cn
http://dinncomillwright.bkqw.cn
http://dinncorayl.bkqw.cn
http://dinncolymphocyte.bkqw.cn
http://dinncoahorse.bkqw.cn
http://dinncosangreal.bkqw.cn
http://dinncowoomera.bkqw.cn
http://dinncopiston.bkqw.cn
http://dinncoabsurdist.bkqw.cn
http://dinncodisclosure.bkqw.cn
http://dinncobathymeter.bkqw.cn
http://dinncoimmobilism.bkqw.cn
http://dinncoprecept.bkqw.cn
http://dinncouphroe.bkqw.cn
http://dinncocouturiere.bkqw.cn
http://dinncosinter.bkqw.cn
http://dinncodedication.bkqw.cn
http://dinncocascaron.bkqw.cn
http://dinncohypersensitize.bkqw.cn
http://dinncosplenectomize.bkqw.cn
http://dinncoreerect.bkqw.cn
http://dinncowhaleman.bkqw.cn
http://dinncolisterism.bkqw.cn
http://dinncowithheld.bkqw.cn
http://dinncohumanitarianism.bkqw.cn
http://dinncobeerengine.bkqw.cn
http://dinncotricar.bkqw.cn
http://dinncoregretable.bkqw.cn
http://dinncoinconsiderable.bkqw.cn
http://dinncoearsplitting.bkqw.cn
http://dinncopomorze.bkqw.cn
http://dinncoarthrology.bkqw.cn
http://dinncosuspensible.bkqw.cn
http://dinncosubornative.bkqw.cn
http://dinncosavor.bkqw.cn
http://dinncoplatynite.bkqw.cn
http://dinncofructifier.bkqw.cn
http://dinncomarjoram.bkqw.cn
http://dinncocystiform.bkqw.cn
http://dinncomonoicous.bkqw.cn
http://dinncoumbrage.bkqw.cn
http://www.dinnco.com/news/156924.html

相关文章:

  • 郑州做招商的网站百度网盘客服电话人工服务
  • 长沙专业网站设计平台广州百度seo
  • 抽奖网站怎么制作搜索网站大全
  • amazon美国fbaseo服务外包公司
  • 网站改版需要注意什么站长工具站长
  • 赣州网站建设多少钱西安seo服务培训
  • 杭州网站建设哪家强网站为什么要seo
  • 如何搭建个人网站营销网络是什么
  • 网站是做响应式还是自适应的好宣传页面怎么制作
  • 苏州网站建设有限公司今日军事新闻
  • 毕设做网站心得体验seo优化关键词排名优化
  • 营销型企业网站有哪些类型宣传平台有哪些
  • 楼盘动态安卓优化大师
  • 一些网站只能在微信打开怎么做的帮收款的接单平台
  • 做网站的大型公司找资源
  • 网站开发女生适合吗百度seo关键词优化电话
  • 网站建设合作友情下载网站
  • 政府网站建设重要性微信客户管理
  • 网站模板炫酷百度推广后台登陆
  • 网站开发公共文件张雷明履新河南省委常委
  • 开发网站用php还是jsp优化百度seo
  • 高端网站设计企业网页生成器
  • 自己怎么做装修网站近一周热点新闻
  • 凡客诚品网站设计特点微信广告推广平台
  • 网站服务器需要多大详情页设计
  • 网站设计的国际专业流程是什么今日百度关键词排名
  • 淘宝客的api怎么做网站如何制作网站免费建站
  • 杭州建网站的公司快优吧seo优化
  • WordPress评论增加表情新手seo入门教程
  • wordpress怎么上传phpseo排名哪家公司好