kubekey icon indicating copy to clipboard operation
kubekey copied to clipboard

support ed25519 and other ssh encryption protocol

Open xuelangos opened this issue 2 years ago • 3 comments

Your current KubeKey version

v3.0.7

Describe this feature

Uploading image.png…

Describe the solution you'd like

Uploading image.png…

Additional information

No response

xuelangos avatar Feb 08 '23 09:02 xuelangos

error: Pipeline[CreateClusterPipeline] execute failed: Module[GreetingsModule] exec failed: failed: [node2] failed to connect to 10.10.5.249: Failed to validate ssh connection parameters: Failed to read keyfile "/root/.ssh/id_rsa": open /root/.ssh/id_rsa: no such file or directory failed: [node1] failed to connect to 10.10.5.248: Failed to validate ssh connection parameters: Failed to read keyfile "/root/.ssh/id_rsa": open /root/.ssh/id_rsa: no such file or directory

xuelangos avatar Feb 08 '23 09:02 xuelangos

Can you paste your config file on this website?

24sama avatar Feb 09 '23 03:02 24sama

4.x will support defined custom ssh_private_key path.like config: connector.ssh_private_key: /root/id_ed25519 https://github.com/kubesphere/kubekey/blob/ccca0edd811c689d8ee9f43e61e2a79b639d9684/pkg/connector/ssh_connector.go#L84-L88

redscholar avatar Mar 21 '25 10:03 redscholar