Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用KubeKey尝试进行AllinOne安装提示SSH错误 #2335

Open
yn-tadpole opened this issue Jul 25, 2024 · 3 comments
Open

使用KubeKey尝试进行AllinOne安装提示SSH错误 #2335

yn-tadpole opened this issue Jul 25, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@yn-tadpole
Copy link

What is version of KubeKey has the issue?

kk version: &version.Info{Major:"3", Minor:"1", GitVersion:"v3.1.1", GitCommit:"7a184f786b02bec20d5534af137896f50e510396", GitTreeState:"clean", BuildDate:"2024-04-16T04:28:43Z", GoVersion:"go1.19.2", Compiler:"gc", Platform:"linux/amd64"}

What is your os environment?

OpenEuler 24.03 - Linux 6.6.0-28.0.0.34.oe2403.x86_64 x86_64

KubeKey config file

No response

A clear and concise description of what happend.

按照提示运行:
./kk create cluster
时总是提示如下错误:

 _   __      _          _   __
| | / /     | |        | | / /
| |/ / _   _| |__   ___| |/ /  ___ _   _
|    \| | | | '_ \ / _ \    \ / _ \ | | |
| |\  \ |_| | |_) |  __/ |\  \  __/ |_| |
\_| \_/\__,_|_.__/ \___\_| \_/\___|\__, |
                                    __/ |
                                   |___/

10:48:53 CST [GreetingsModule] Greetings
10:48:53 CST failed: [node1]
error: Pipeline[CreateClusterPipeline] execute failed: Module[GreetingsModule] exec failed:
failed: [node1] failed to connect to 192.168.5.10: could not establish connection to 192.168.5.10:22: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain

已经尝试更换操作系统为Debian 12.0.6,以及更换不同的kk版本。均不成功。
提示的192.168.5.10地址就是本机的地址,并且试过在本机 ssh 192.168.5.10也能正常连接

Relevant log output

10:48:53 CST [GreetingsModule] Greetings
10:48:53 CST failed: [node1]
error: Pipeline[CreateClusterPipeline] execute failed: Module[GreetingsModule] exec failed:
failed: [node1] failed to connect to 192.168.5.10: could not establish connection to 192.168.5.10:22: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain

Additional information

No response

@yn-tadpole yn-tadpole added the bug Something isn't working label Jul 25, 2024
@jesse996
Copy link

jesse996 commented Aug 5, 2024

+1

@liangzai006
Copy link
Collaborator

检查下 有没有生成公钥

@zhuyaguang
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants