github.com/hashicorp/packer@v1.14.3/website/content/partials/packer-plugin-sdk/communicator/SSHInterface-not-required.mdx (about)

     1  <!-- Code generated from the comments of the SSHInterface struct in communicator/config.go; DO NOT EDIT MANUALLY -->
     2  
     3  - `ssh_interface` (string) - One of `public_ip`, `private_ip`, `public_dns`, or `private_dns`. If
     4    set, either the public IP address, private IP address, public DNS name
     5    or private DNS name will used as the host for SSH. The default behaviour
     6    if inside a VPC is to use the public IP address if available, otherwise
     7    the private IP address will be used. If not in a VPC the public DNS name
     8    will be used. Also works for WinRM.
     9    
    10    Where Packer is configured for an outbound proxy but WinRM traffic
    11    should be direct, `ssh_interface` must be set to `private_dns` and
    12    `<region>.compute.internal` included in the `NO_PROXY` environment
    13    variable.
    14  
    15  - `ssh_ip_version` (string) - The IP version to use for SSH connections, valid values are `4` and `6`.
    16    Useful on dual stacked instances where the default behavior is to
    17    connect via whichever IP address is returned first from the OpenStack
    18    API.
    19  
    20  <!-- End of code generated from the comments of the SSHInterface struct in communicator/config.go; -->