写点什么

【YashanDB 知识库】安装过程报错: unable to authenticate, attempted methods [none password], no supported methods remain

作者:YashanDB
  • 2024-12-27
    广东
  • 本文字数:526 字

    阅读完需:约 2 分钟

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


问题现象


./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



问题的风险及影响


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


问题影响的版本


YashanDB 版本:所有版本


问题发生原因


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


解决方法及规避方式


修改/etc/ssh/sshd_config 文件,配置 PasswordAuthentication yes


之后重启 ssh 服务


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


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

发布于: 刚刚阅读数: 6
用户头像

YashanDB

关注

全自研国产新型大数据管理系统 2022-02-15 加入

还未添加个人简介

评论

发布
暂无评论
【YashanDB知识库】安装过程报错: unable to authenticate, attempted methods [none password], no supported methods remain_数据库_YashanDB_InfoQ写作社区