Adrien Delorme
5369c15459
helper: communicator.SSHFileSigner => ssh.FileSigner
...
* had to to avoid circular dependency
* this commit fixes #6631 ( esxi cannot be reached by ssh )
2018-08-29 14:40:33 +02:00
Matthew Hooker
e41e99954d
go 1.11 format rules
2018-08-24 15:56:44 -07:00
Adrien Delorme
fa44a4546f
use ssh.ParsePrivateKey where we can
2018-08-22 18:23:09 +02:00
Adrien Delorme
41f6e0334d
refactor all copy pasted sshConfig with into communicator.Config.SSHConfigFunc
...
* still need to append the auth methods into an array for gracefullness
2018-08-22 17:02:23 +02:00
Matthew Hooker
63f1673909
ssh deadlines
2018-01-31 12:35:25 -08:00
Matthew Hooker
cab52872f4
add session level keep-alives for ssh communicator
2018-01-30 22:00:37 -08:00
Matthew Hooker
7a189a83a1
fix imports
...
`find . -type f -name '*.go' -not -path "./vendor/*" -exec goimports -w {} \;`
2018-01-24 17:09:17 -08:00
Matthew Hooker
a831d522be
change run signatures
...
Run now takes a context as well as a statebag. We'll assign the context
to the blank identifier to prevent namespace collisions. We'll let the
step authors opt-in to using the context.
`find . -iname "step_*.go" -exec gsed -i'' 's/func \(.*\)Run(/func \1Run(_ context.Context, /' {} \;`
2018-01-24 17:09:17 -08:00
Matthew Hooker
366dc3da0a
move multistep imports to helper.
...
gomvpkg -from "github.com/mitchellh/multistep" -to "github.com/hashicorp/packer/helper/multistep"
2018-01-24 17:09:15 -08:00
Paul Kilar
d9b404fa00
SOCKS5 proxy support
2017-10-10 15:04:15 +01:00
Rickard von Essen
4f6010aa26
ssh: Renamed ssh_disable_agent to ssh_disable_agent_forwarding
...
Closes : #4941
2017-06-19 16:26:18 +02:00
Rickard von Essen
d4ecf4acb3
Add InsecureIgnoreHostKey to bastion connection
2017-05-28 20:35:01 +02:00
Rickard von Essen
2164700162
comm/ssh: Add support for using SSH Agent auth towards a bastion host.
...
Adds `ssh_bastion_agent_auth`
Fixes : #4732
2017-05-28 14:05:03 +02:00
Matthew Hooker
81522dced0
move packer to hashicorp
2017-04-04 13:39:01 -07:00
Matthew Hooker
aaba5286a6
Revert "Use SSH agent when enabled for bastion step"
2017-02-27 11:30:08 -08:00
David Campbell
6c7e3b70a9
- use xanzy/ssh-agent for windows compatibility
2017-02-26 18:01:45 -08:00
David Campbell
b598baa5e3
Use SSH agent when enabled for bastion step
2017-02-26 17:59:42 -08:00
Alfonso Acosta
a59c82d7a6
Add sftp file transfer support
...
Adds a new config option: "ssh_file_transfer_method", which can be set to "scp"
or "sftp" (defaults to "scp")
2015-07-26 23:49:18 +00:00
Mitchell Hashimoto
a019575026
helper/communicator: support disabling SSH agent
2015-06-23 14:52:37 -07:00
Mitchell Hashimoto
cbaaf0da52
communicator/ssh: support for bastion SSH
2015-06-17 22:10:42 +02:00
Mitchell Hashimoto
8d0904e296
helper/communicator: configurable handshake attempts [GH-1988]
2015-06-13 19:39:42 -04:00
Mitchell Hashimoto
115d583cff
helper/communicator: make host more generic
2015-06-13 19:23:33 -04:00
Mitchell Hashimoto
4b3ed5d7e2
helper/communicator
2015-06-13 17:42:38 -04:00