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

Error waiting for SSH: Packer experienced an authentication error when trying to connect via SSH. #90

Open
c0deek opened this issue May 23, 2020 · 1 comment

Comments

@c0deek
Copy link

c0deek commented May 23, 2020

Command executed: packer build -only=virtualbox-iso application-server.json

The VM was created. I selected openSSH while installing. But after sometime te following errors flashed and the VM was automatically deleted

==> virtualbox-iso: Waiting for SSH to become available...
==> virtualbox-iso: 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 password], no supported methods remain
==> virtualbox-iso: Deregistering and deleting VM...
==> virtualbox-iso: Deleting output directory...
Build 'virtualbox-iso' errored: 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 password], no supported methods remain

@13rac1
Copy link
Contributor

13rac1 commented May 27, 2020

You might have a bad image? Try deleting and redownloading. The password isn't stored in this project. This is probably an issue with your Packer configuration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants