hashicorp / hashicorp/packer

Be able to use SSH Keys with passphrase

Open
#11,632 3 comments 12 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
15.8k
Forks
3.3k
PR merge metrics
PR metrics pending

Description

#### Community Note

Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request.
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.

#### Description
Hi, I have done some research and is a little surprised that i can not use a private SSH_Key with passphrace when building an image? I only get the "This key is protected by passphrace" error. Without any passphrace it works fine.

When running the build, i should ether be prompted to type the password or have the option to get it from the vault with an variable.

#### Use Case(s)
Build images with secure ssh keys with passphraces.

#### Potential configuration

#### Potential References

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.