急需
为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【GBase版本】:
【操作系统】:
【CPU】:
【问题描述】*:[root@gbase-primary script]# ./gs_preinstall -U gbase -G gbase -X /opt/database/package/cluster_config.xml
Parsing the configuration file.
Successfully parsed the configuration file.
Installing the tools on the local node.
Successfully installed the tools on the local node.
Are you sure you want to create trust for root (yes/no)?yes
Please enter password for current user[root].
Password:
Checking network information.
All nodes in the network are Normal.
Successfully checked network information.
Creating SSH trust.
Creating the local key file.
Successfully created the local key files.
Appending local ID to authorized_keys.
Successfully appended local ID to authorized_keys.
Updating the known_hosts file.
Successfully updated the known_hosts file.
Appending authorized_key on the remote node.
[GAUSS-51101] : SSH exception:
Without this node[10.225.20.70] of the correct password.
Without this node[10.225.20.69] of the correct password.
Without this node[10.225.20.68] of the correct password.这是为什么我都做了免密了,他可以正常ssh 10.225.20.69和70上不需要密码为什么会报错
评论
ssh-keygen -t rsa
ssh-copy-id gbase@10.225.20.68
ssh-copy-id gbase@10.225.20.69
ssh-copy-id gbase@10.225.20.70
Parsing the configuration file.
Successfully parsed the configuration file.
Installing the tools on the local node.
Successfully installed the tools on the local node.
Are you sure you want to create trust for root (yes/no)?yes
Please enter password for current user[root].
Password:
Checking network information.
All nodes in the network are Normal.
Successfully checked network information.
Creating SSH trust.
Creating the local key file.
Successfully created the local key files.
Appending local ID to authorized_keys.
Successfully appended local ID to authorized_keys.
Updating the known_hosts file.
Successfully updated the known_hosts file.
Appending authorized_key on the remote node.
[GAUSS-51101] : SSH exception:
Without this node[10.225.20.68] of the correct password.
Without this node[10.225.20.69] of the correct password.
Without this node[10.225.20.70] of the correct password.
[root@gbase-primary script]# ssh 10.225.20.69
Last login: Mon Apr 14 12:12:01 2025 from gbase-primary
[root@gbase-hdr ~]# exit
logout
Connection to 10.225.20.69 closed.
[root@gbase-primary script]# ssh gbase@10.225.20.69
gbase@10.225.20.69's password:
[root@gbase-primary script]# su gbase
[gbase@gbase-primary script]$ ssh gbase@10.225.20.69
Last failed login: Mon Apr 14 12:25:09 CST 2025 from gbase-primary on ssh:notty
There was 1 failed login attempt since the last successful login.
Last login: Mon Apr 14 12:19:19 2025 from gbase-primary
[gbase@gbase-hdr ~]$ exit
logout
Connection to 10.225.20.69 closed.
[gbase@gbase-primary script]$
麻烦看一下我哪里错了什么情况
热门帖子
- 12025-12-01浏览数:182759
- 22023-05-09浏览数:25052
- 42023-09-25浏览数:18521
- 52020-05-11浏览数:17526