kube-install icon indicating copy to clipboard operation
kube-install copied to clipboard

kube-install init failed

Open mtpkiss opened this issue 1 year ago • 1 comments

help please

[root@Centos7_6 kube-install]# cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)
[root@Centos7_6 kube-install]# ./kube-install -init -ostype "centos7"

Initialization in progress, please wait...

Notice: If you are prompted to enter the password below, please enter the root password again!
2024/01/10 15:42:05 Error waiting for command execution: exit status 127......

[Error] 2024-01-10 15:42:05.394895694 +0800 CST m=+2.765850800 Initialization failed ! There is a problem with the local SSH key.

Recommendations:
    If the SSH port of the host is not "22", use the "-sshport" to specify the correct port.
    (Please try again with root user)

Initialization failed!

[root@Centos7_6 kube-install]# netstat -ntlp | grep sshd
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      181932/sshd: /usr/s
tcp6       0      0 :::22                   :::*                    LISTEN      181932/sshd: /usr/s
[root@Centos7_6 kube-install]# whoami
root

mtpkiss avatar Jan 10 '24 07:01 mtpkiss

This may be due to residual SSH keys or configuration issues: --Can you try deleting the entry in ~/.ssh/known_hosts ? --Try setting other configuration parameters such as PermitRootLogin or /etc/ssh/ssh_config ?

cloudnativer avatar Apr 03 '24 03:04 cloudnativer