You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @juliusoh this looks like an issue with the ssh key not being loaded properly. Please validate that the is formatted properly and loaded it properly.
If you are still running into issues you can use troubleshoot this issue further by adding a breakpoint provisioner to the template, which will pause the build so that you can try connecting manually.
You can also run Packer build with the debug flag packer build -debug template.pkr.hcl to steps through the build process. This will output the ssh key created by Packer.
Since this doesn't appear to be an issue with Packer I'm going to close this issue and recommend you reach out to the community forum for help. The GitHub issue tracker is only watched by a small subset of maintainers and is really reserved for bugs rather than questions. You'll have a better chance of finding someone who can help you in the forum.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
I have a packer script:
The bootstrap is running this file:
Currently getting
==> amazon-ebs.devbox: Load key "/home/ubuntu/.ssh/keyname": error in libcrypto
==> amazon-ebs.devbox: git@github.companymae.net: Permission denied (publickey).
==> amazon-ebs.devbox: fatal: Could not read from remote repository.
The text was updated successfully, but these errors were encountered: