Commit Graph

97 Commits (7f5f9f0856ec99449dc0ea3fa149eed4e80ead18)

Author SHA1 Message Date
Megan Marsh ba66d5d857
Merge pull request #7831 from hashicorp/fix_ssh_interface
7 years ago
Megan Marsh 242f5b1c9f typos
7 years ago
Megan Marsh 8718e98efe add common commHost function
7 years ago
Megan Marsh 6ad975f296 Revert "move SSHInterface/SSHIPVersion fields to communitator.Config struct"
7 years ago
Adrien Delorme f555e7a9f2 allow a provisioner to timeout
7 years ago
Adrien Delorme a81abd297b Merge remote-tracking branch 'origin/master' into context_provisioner
7 years ago
Adrien Delorme c4f3dccc14 rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts
7 years ago
Megan Marsh 8f3313d81e Create new docker communicator for windows containers
7 years ago
Adrien Delorme 7737458d17 fix log output
7 years ago
Adrien Delorme 5a6dffde9a use port as ints
7 years ago
Adrien Delorme 025fc87278 StepConnectSSH: show connection address in debug output
7 years ago
Adrien Delorme c214f6735b make everything a uint
7 years ago
Megan Marsh 9db844a807 move pause to after connection can be established.
7 years ago
Megan Marsh 31c8acc5bc add a configurable pause before step_connect to work around bootstrap race conditions
7 years ago
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
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
Ali Rizvi-Santiago a3cec4f274 Emit both the host and the communicator to the user during StepConnect.
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 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