generated from LinuxSuRen/.github
-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
The command is:
ks install kk --kubernetesVersion v1.21.5The error output is:
time="10:40:52 CST" level=error msg="Failed to connect to 192.168.0.3: Failed to validate ssh connection parameters: Failed to read keyfile \"/root/.ssh/id_rsa\": open /root/.ssh/id_rsa: no such file or directory" node=192.168.0.3
time="10:40:52 CST" level=warning msg="Task failed ..."
time="10:40:52 CST" level=warning msg="error: interrupted by error"
Error: Failed to init OS: interrupted by error
Failed to init OS: interrupted by errorIt still cannot work after I generated the ssh key with the following command:
ssh-keygenthe error output is:
time="10:57:28 CST" level=error msg="Failed to connect to 192.168.0.3: could not establish connection to 192.168.0.3:22: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain" node=192.168.0.3
time="10:57:28 CST" level=warning msg="Task failed ..."
time="10:57:28 CST" level=warning msg="error: interrupted by error"
Error: Failed to init OS: interrupted by error
Failed to init OS: interrupted by errorthen, I put the content of /root/.ssh/id_rsa.pub into the end of /root/.ssh/authorized_keys. It works well.
Suggestion
I'd like to suggest doing all those work by the command ks install kk. So users don't need to do it over and over again.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels