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

[BUG] FATA[0000] stat /root/.ssh/id_rsa: no such file or directory just use password to create cluster #391

Closed
631068264 opened this issue Feb 16, 2022 · 1 comment
Labels
bug Something isn't working resolved Resolved and tested
Milestone

Comments

@631068264
Copy link
Contributor

Describe the bug

[root@Server-c49a7057-d19d-4676-bafa-e7729889c6fa ~]# /usr/local/bin/autok3s create --provider native --cluster --name test --k3s-install-script '-k http://xxxx/install.sh' --k3s-version v1.19.5+k3s2 --ssh-user root --ssh-password xxx --ssh-port 22  --master-extra-args '--docker' --master-ips xxxx

FATA[0000] stat /root/.ssh/id_rsa: no such file or directory 

To reproduce
My machine don't have /root/.ssh/id_rsa this file . Because I just use password to connect the node, I don't why I should have a private key.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Environments (please complete the following information):

  • OS: centos7
  • AutoK3s Version
    Version: {"gitVersion":"v0.4.6","gitCommit":"4537e6ee2aea8b204a72f7b6c377edb154f7c058","gitTreeState":"","buildDate":"2021-12-28T04:15:30Z","goVersion":"go1.16.2","compiler":"gc","platform":"linux/amd64"}

Additional context
Add any other context about the problem here.

@631068264 631068264 added the bug Something isn't working label Feb 16, 2022
@Jason-ZW Jason-ZW added this to the v0.4.7 milestone Feb 18, 2022
@Jason-ZW Jason-ZW added the resolved Resolved and tested label Feb 21, 2022
@Jason-ZW
Copy link
Collaborator

this commit will fix the bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working resolved Resolved and tested
Development

No branches or pull requests

2 participants