admin管理员组文章数量:1035560
【YashanDB知识库】安装过程报错: unable to authenticate, attempted methods [none password]
问题现象
./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来安装。
【YashanDB知识库】安装过程报错: unable to authenticate, attempted methods [none password]
问题现象
./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来安装。
本文标签: YashanDB知识库安装过程报错 unable to authenticateattempted methods none password
版权声明:本文标题:【YashanDB知识库】安装过程报错: unable to authenticate, attempted methods [none password] 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/jiaocheng/1748195999a2267635.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论