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

Packer can't SSH into stable-3139.2.0 #757

Closed
alpana17 opened this issue May 30, 2022 · 2 comments
Closed

Packer can't SSH into stable-3139.2.0 #757

alpana17 opened this issue May 30, 2022 · 2 comments
Labels
kind/question Further information is requested resolution-suggested

Comments

@alpana17
Copy link

Earlier I was using Flatcar 3033.2.4.
Now, my packer template is not able to login to launched instance. Error is:
Error waiting for SSH: Packer experienced an authentication error when trying to connect via SSH. This can happen if your username/password are wrong. You may want to double-check your credentials as part of your debugging process. original error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain

If I move to Flatcar 3033.2.4, it will start working properly.

@tormath1
Copy link
Contributor

tormath1 commented May 30, 2022

Hi @alpana17,

stable-3139.2.0 comes with openssh-8.8 so I think you're hitting this issue: hashicorp/packer#11733 (https://groups.google.com/g/golang-announce/c/-cp44ypCT5s/m/wmegxkLiAQAJ for more details).

Upgrading Packer to 1.8.1 should fix the issue as it embeds the lib update.

Let us know how it goes !

EDIT: renamed the issue title to reflect the change and get a better referencing for other users

@tormath1 tormath1 changed the title Release Flatcar Container Linux 3139.2 Packer can't SSH into stable-3139.2.0 May 31, 2022
@dongsupark dongsupark added the kind/question Further information is requested label Jul 8, 2022
@tormath1 tormath1 closed this as completed Jul 8, 2022
@tormath1
Copy link
Contributor

tormath1 commented Jul 8, 2022

Hi @alpana17, we're closing this issue for now - feel free to re-open it if the proposed suggestion does not work. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Further information is requested resolution-suggested
Projects
None yet
Development

No branches or pull requests

3 participants