Hello, Maybe in there -> https://www.packer.io/docs/templates/communicator.html#ssh_private_key_file ?
regards On Thursday, September 26, 2019 at 12:23:58 PM UTC+2, Rajendra Kumar wrote: > > Hi All, > > Currently while baking azure vm using packer we give "ssh_username and > ssh_password" in config.json, due to security concerns we want to use ssh > keys to SSH into the azure packer node instead of "ssh_username and > ssh_password" . > > I could not find any packer variable where can I specify the SSH keys, and > could not find any example config.json on the internet. > > can somebody please help how can I achieve this, if possible please > mention the steps and post the sample config.json. > > > > Thanks in advance! > Rajendra > > > > > -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/d905e3ee-148f-4ad2-9888-6c30efc1a342%40googlegroups.com.
