terraform/communicator
James Bardin 1a68fdb4f6 add support for ssh host key checking
Add `host_key` and `bastion_host_key` fields to the ssh communicator
config for strict host key checking.

Both fields expect the contents of an openssh formated public key. This
key can either be the remote host's public key, or the public key of the
CA which signed the remote host certificate.

Support for signed certificates is limited, because the provisioner
usually connects to a remote host by ip address rather than hostname, so
the certificate would need to be signed appropriately. Connecting via
a hostname needs to currently be done through a secondary provisioner,
like one attached to a null_resource.
2018-02-14 15:35:41 -05:00
..
remote Adding some abstractions for the communicators 2015-05-01 18:48:54 +02:00
shared provisioners: Allow provisioning over IPv6 2016-09-03 15:45:24 -07:00
ssh add support for ssh host key checking 2018-02-14 15:35:41 -05:00
winrm communicator/winrm: pass cacert option correctly 2017-10-23 13:28:41 -07:00
communicator.go provisioners/file: use the old communicator.New just to minimize risk 2017-01-26 15:03:28 -08:00
communicator_mock.go Adding the tests... 2015-05-08 18:17:57 +02:00
communicator_test.go Adding support for WinRM 2015-05-01 18:48:54 +02:00