Back to Packer

SSH Key Pair Name Not Required

website/content/partials/packer-plugin-sdk/communicator/SSH-Key-Pair-Name-not-required.mdx

1.15.3462 B
Original Source
  • ssh_keypair_name (string) - If specified, this is the key that will be used for SSH with the machine. The key must match a key pair name loaded up into the remote. By default, this is blank, and Packer will generate a temporary keypair unless ssh_password is used. ssh_private_key_file or ssh_agent_auth must be specified when ssh_keypair_name is utilized.