Commit Graph

89 Commits (c1960840e3528bd760b82d8dfbf737d7908b9358)

Author SHA1 Message Date
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
Matthew Hooker 366dc3da0a
move multistep imports to helper.
8 years ago
Pawel Kilar 17beb1d7ad Check if both SSH proxy and basiton are configured
9 years ago
Paul Kilar d9b404fa00 SOCKS5 proxy support
9 years ago
Megan Marsh 959db1ac16 add echo test to winrm connection.
9 years ago
Rickard von Essen 4f6010aa26
ssh: Renamed ssh_disable_agent to ssh_disable_agent_forwarding
9 years ago
Lee Spottiswood 8473a1148c Add 'winrm_use_ntlm' configuration directive for NTLM authentication support
9 years ago
Rickard von Essen d4ecf4acb3
Add InsecureIgnoreHostKey to bastion connection
9 years ago
Rickard von Essen 2164700162
comm/ssh: Add support for using SSH Agent auth towards a bastion host.
9 years ago