github.com/hashicorp/packer@v1.14.3/website/content/partials/helper/communicator/SSH-Key-Pair-Name-not-required.mdx (about)

     1  - `ssh_keypair_name` (string) - If specified, this is the key that will be used for SSH with the
     2    machine. The key must match a key pair name loaded up into the remote.
     3    By default, this is blank, and Packer will generate a temporary keypair
     4    unless [`ssh_password`](#ssh_password) is used.
     5    [`ssh_private_key_file`](#ssh_private_key_file) or
     6    [`ssh_agent_auth`](#ssh_agent_auth) must be specified when
     7    [`ssh_keypair_name`](#ssh_keypair_name) is utilized.