Commit Graph

121 Commits (7e34579b7eab657e978260bbbda653e723ca38e1)

Author SHA1 Message Date
Adrien Delorme b7222d1f56 Add tmp package that offers Dir & File funcs
7 years ago
Ali Rizvi-Santiago b0af406e08 gofmt using v1.11.2 instead of disro's outdated v1.10.5.
7 years ago
Ali Rizvi-Santiago 040a33567e Trying again one more time to prevent import cycles.. Moved common.ExpandUser into packer.ExpandUser..
7 years ago
Ali Rizvi-Santiago 79b68fb89c Replaced the previous incorrect logic with an re-implementation of common.ExpandUser.
7 years ago
Ali Rizvi-Santiago e04986659a Changed the logic for when to actually prefix a path with a u.HomeDir so that it's only done when a non-absolute path is specified.
7 years ago
Ali Rizvi-Santiago 1a3c3f2ffc Replaced all instances of mitchellh/go-homedir with an implementation based on os/user.
7 years ago
Mikhail Ushanov ee0bff6451 communicator/ssh: proper error message
8 years ago
Mikhail Ushanov 45925657fc communicator/ssh: make ssh keys payload internal
8 years ago
Mikhail Ushanov 1c503b86d9 communicator/ssh: expand user path for bastion private key
8 years ago
Mikhail Ushanov 6d2a0ab0df communicator/ssh: expand user path for private key
8 years ago
Mikhail Ushanov da0bad8441 communicator/ssh: add private key file read helper
8 years ago
Megan Marsh 38cc525ec7 new option allowing user to clean up the ephemeral ssh key from the authorized_keys file
8 years ago
Adrien Delorme b0c09087a2 move SSHInterface/SSHIPVersion fields to communitator.Config struct
8 years ago
Adrien Delorme 1d219cecaf add SSHTemporaryKeyPairName to communicator.Config
8 years ago
Adrien Delorme 9a9b82715b config.Comm.SSHKeyPair => SSHKeyPairName
8 years ago
Adrien Delorme 77a57f0354 communicator.Config: `mapstructure:"ssh_key_pair"` => ssh_keypair_name
8 years ago
Adrien Delorme 69dfe2565b SSHBastionPrivateKey => SSHBastionPrivateKeyFile
8 years ago
Adrien Delorme 5369c15459 helper: communicator.SSHFileSigner => ssh.FileSigner
8 years ago
Adrien Delorme b83c72fd54 more private keys in config
8 years ago
Adrien Delorme 663c8134ef GCP: put ssh public/private key in config
8 years ago
Adrien Delorme 51d2aac9f6 SSHPrivateKey => SSHPrivateKeyFile
8 years ago
Matthew Hooker e41e99954d
go 1.11 format rules
8 years ago
Megan Marsh 340363a649
Merge pull request #6613 from hashicorp/merge_ssh_config_funcs
8 years ago
Adrien Delorme fa44a4546f use ssh.ParsePrivateKey where we can
8 years ago
Adrien Delorme bacfb02182 doc better SSHConfigFunc
8 years ago
Adrien Delorme ab7f998862 SSHConfigFunc: use struct fields instead of copying them locally
8 years ago
Adrien Delorme 0ff7c1da87 SSHConfigFunc: append the ssh auth ways
8 years ago
Adrien Delorme 41f6e0334d refactor all copy pasted sshConfig with into communicator.Config.SSHConfigFunc
8 years ago
Megan Marsh ff6a039d5b replace scrubconfig with packer.LogSecretFilter.Set
8 years ago
Ali Rizvi-Santiago a3cec4f274 Emit both the host and the communicator to the user during StepConnect.
8 years ago
Megan Marsh 3afb243f11 use build name to ensure that winrm password and other shared state is not overwritten if two builders need the password in the same packer run.
8 years ago
Seth Vargo b193b96f76
Include arch and os
8 years ago
Seth Vargo b17b333e29
Add a common package for specifying useragent and adopt that everywhere
8 years ago
Megan Marsh 4e32d0da24 stricter permissions on shared state file since it now contains a password
8 years ago
Megan Marsh 4d19f4f8b6 add all the new files
8 years ago
Josh Soref 64aae1c781 spelling: occurring
8 years ago
Josh Soref 5e167e3b6d spelling: accumulates
8 years ago
SwampDragons 5af42ee9e2
Revert "Add `winrm_no_proxy` option."
8 years ago
Matthew Hooker 22666153f9
Add `winrm_no_proxy` option.
8 years ago
Matthew Hooker 63f1673909
ssh deadlines
8 years ago
Matthew Hooker cab52872f4
add session level keep-alives for ssh communicator
8 years ago
Matthew Hooker 3e2895afec
comments
8 years ago
Matthew Hooker 2afd81741c
use correct context
8 years ago
Matthew Hooker ce4f30c5ae
fix tests
8 years ago
Matthew Hooker 8cd403425e
test fixes WIP
8 years ago
Matthew Hooker 5d48d658b4
Wire context through misc steps
8 years ago
Matthew Hooker 7a189a83a1
fix imports
8 years ago
Matthew Hooker a831d522be
change run signatures
8 years ago
Matthew Hooker a0c625ea44
Revert "working with opt-in"
8 years ago
Matthew Hooker e98f201602
working with opt-in
8 years ago