安装过程报错: unable to authenticate, attempted methods [none password], no supported methods remain
问题现象
./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服务
service sshd restart # 或者 /etc/initd.d/sshd restart |
另外,建议创建新的安装用户,并配置sudo权限,而不是直接使用root来安装。
友情链接:深圳计算科学研究院 深圳崖山科技有限公司
版权所有© 深圳崖山科技有限公司 粤ICP备2022018810号
公众号
加入技术交流群
YashanDB
崖山数据库系统YashanDB是深圳计算科学研究院自主设计研发的新型数据库管理系统,融入原创的有界计算、近似计算、并行可扩展和跨模融合计算理论,可满足金融、政企、能源等关键行业对高性能、高并发及高安全性的要求。
邮箱:info@yashandb.com
地址:广东省深圳市龙华区民宝路红山6979园区25座5-10层