terraform/communicator
Paul Hinze 801aaf1eec communicator/ssh: sort agent after static keyfile
In the SSH client configuration, we had SSH Agent authentication listed
before the static PrivateKey loaded from the `key_file` setting.
Switching the default of the `agent` setting exposed the fact that the
SSH agent overrides the `key_file` during the handshake. By listing the
`key_file` first, we catch the provided key before any query goes out to
the agent.

Adds a key-based authentication SSH test to cover this new behavior. It
fails without the reordering on any machine with an SSH agent running.

Fixes #2614
2015-07-02 15:41:23 -05:00
..
remote Adding some abstractions for the communicators 2015-05-01 18:48:54 +02:00
ssh communicator/ssh: sort agent after static keyfile 2015-07-02 15:41:23 -05:00
winrm Improved some logging... 2015-05-11 15:18:32 +02:00
communicator.go Adding support for WinRM 2015-05-01 18:48:54 +02: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