ITPub博客

首页 > 数据库 > 国内数据库 > 【YashanDB 知识库】安装过程报错: unable to authenticate

【YashanDB 知识库】安装过程报错: unable to authenticate

原创 国内数据库 作者:崖山数据库系统YashanDB 时间:2024-12-27 18:15:31 0 删除 编辑

本文内容来自 YashanDB 官网,原文内容请见  https://www.yashandb.com/newsinfo/7817895.html?templateId=171...

问题现象

./bin/yasboot package se gen --cluster yashandb -u yashan -p xxx --ip 192.168.xxx.xxx --port 22 --install-path /data/yashan/yasdb\_home --data-path /data/yashan/yasdb\_data --begin-port 1688

ip:192.168.xxx.xxx scan failed, 主机扫描失败:ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain

IMG_256

问题的风险及影响

客户环境为测试环境,影响测试业务的开展。

问题影响的版本

YashanDB 版本:所有版本

问题发生原因

OpenSSH 加密所有流量(包括密码)以有效消除窃听,连接劫持和其他攻击。OpenSSH 提供了安全隧道功能和多种身份验证方法,并且支持所有 SSH 协议版本,但是 YashanDB 目前只支持密码登录。

解决方法及规避方式

修改 /etc/ssh/sshd\_config 文件,配置 PasswordAuthentication yes

之后重启 ssh 服务

<table cellspacing="0"><tbody><tr><td>&lt;p&gt;&lt;span&gt;service sshd restart # 或者 & lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;/etc/initd.d/sshd restart&lt;/span&gt;&lt;/p&gt;</td></tr></tbody></table>

另外,建议创建新的安装用户,并配置 sudo 权限,而不是直接使用 root 来安装。


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/70028812/viewspace-3060681/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
崖山数据库系统YashanDB是深圳计算科学研究院完全自主研发设计的新型数据库系统,融入原创理论,支持单机/主备、共享集群、分布式等多种部署方式,覆盖OLTP/HTAP/OLAP交易和分析混合负载场景,为客户提供一站式的企业级融合数据管理解决方案。

注册时间:2023-04-11

  • 博文量
    722
  • 访问量
    639778