mirror of https://github.com/hashicorp/packer
parent
8ea64c5b35
commit
d060cc9ef2
@ -0,0 +1,7 @@
|
||||
|
||||
- `ssh_agent_auth` (bool) - If true, the local SSH agent will be used to authenticate connections to
|
||||
the source instance. No temporary keypair will be created, and the
|
||||
values of [`ssh_password`](#ssh_password) and
|
||||
[`ssh_private_key_file`](#ssh_private_key_file) will be ignored. The
|
||||
environment variable `SSH_AUTH_SOCK` must be set for this option to work
|
||||
properly.
|
||||
@ -0,0 +1,9 @@
|
||||
|
||||
- `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`](#ssh_password) is used.
|
||||
[`ssh_private_key_file`](#ssh_private_key_file) or
|
||||
[`ssh_agent_auth`](#ssh_agent_auth) must be specified when
|
||||
[`ssh_keypair_name`](#ssh_keypair_name) is utilized.
|
||||
|
||||
@ -1,23 +0,0 @@
|
||||
|
||||
- `temporary_key_pair_name` (string) - The name of the temporary key pair to generate. By default, Packer
|
||||
generates a name that looks like `packer_<UUID>`, where <UUID> is
|
||||
a 36 character unique identifier.
|
||||
|
||||
- `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`](#ssh_password) is used.
|
||||
[`ssh_private_key_file`](#ssh_private_key_file) or
|
||||
[`ssh_agent_auth`](#ssh_agent_auth) must be specified when
|
||||
[`ssh_keypair_name`](#ssh_keypair_name) is utilized.
|
||||
|
||||
- `ssh_private_key_file` (string) - Path to a PEM encoded private key file to use to authenticate with SSH.
|
||||
The `~` can be used in path and will be expanded to the home directory
|
||||
of current user.
|
||||
|
||||
- `ssh_agent_auth` (bool) - If true, the local SSH agent will be used to authenticate connections to
|
||||
the source instance. No temporary keypair will be created, and the
|
||||
values of [`ssh_password`](#ssh_password) and
|
||||
[`ssh_private_key_file`](#ssh_private_key_file) will be ignored. The
|
||||
environment variable `SSH_AUTH_SOCK` must be set for this option to work
|
||||
properly.
|
||||
@ -0,0 +1,4 @@
|
||||
|
||||
- `ssh_private_key_file` (string) - Path to a PEM encoded private key file to use to authenticate with SSH.
|
||||
The `~` can be used in path and will be expanded to the home directory
|
||||
of current user.
|
||||
@ -0,0 +1,4 @@
|
||||
|
||||
- `temporary_key_pair_name` (string) - The name of the temporary key pair to generate. By default, Packer
|
||||
generates a name that looks like `packer_<UUID>`, where <UUID> is
|
||||
a 36 character unique identifier.
|
||||
Loading…
Reference in new issue