Mitchell Hashimoto
de8666a5fa
helper/ssh: add random number to script [GH-1545]
2015-04-18 16:09:08 -07:00
Sander van Harmelen
02a41a8802
Fixing up the communicator tests
...
It turned out the tests didn’t work as expected due to some missing
config in the `newMockLineServer` and a defer located in the wrong
location. All is good again now…
2015-04-09 23:40:40 +02:00
Tarrant
05407296c6
Add cleanup function to close SSHAgent
2015-03-20 18:18:35 -07:00
Tarrant
164f303da4
Add SSH Agent support
2015-03-15 16:12:59 -07:00
Paul Hinze
85caf9d8d7
helper/ssh: update import location
...
go's ssh package now lives canonically at `golang.org/x/crypto/ssh`
see https://godoc.org/golang.org/x/crypto/ssh
closes #1179
2015-03-11 15:48:47 -05:00
Armon Dadgar
5a3f80559c
helper/ssh: Cleanups
2014-10-13 12:48:06 -07:00
Mitchell Hashimoto
f117e33c9d
helper/ssh: convert to InstanceState
2014-09-16 16:55:02 -07:00
Mitchell Hashimoto
56cf1e6faa
Fix go vet complaints
2014-08-24 21:50:35 -07:00
Mitchell Hashimoto
efaedbabb0
fmt
2014-08-20 22:24:35 -07:00
Mitchell Hashimoto
e2abcb9c14
Merge pull request #163 from desimone/patch-4
...
helper/ssh: style
2014-08-19 12:48:18 -07:00
Alex Gaynor
2606ef8853
Remove extraneous trailing bit in the import URL
2014-08-19 12:27:01 -07:00
Alex Gaynor
3374f310f8
Replace implementation with Mitchell's go-homedir
2014-08-19 12:21:01 -07:00
Alex Gaynor
d578031831
Added a second test for the other form of tilde paths
2014-08-11 14:57:13 -07:00
Alex Gaynor
e85b89d7fb
Added a test and fixed a typo
2014-08-11 11:47:56 -07:00
Alex Gaynor
9d6e0e4e83
Fixes #179 -- expand ~'s in the path to a key file
2014-08-11 11:39:29 -07:00
Jack Pearkes
1244bff399
Merge pull request #162 from desimone/patch-3
...
Update communicator.go
2014-08-07 15:19:08 -04:00
bdd
462bbece95
Update communicator.go
...
If block ends in a return statement. Personal preference. It's less explicit, but more concise to drop the else and outdent the return.
2014-08-07 14:29:02 -04:00
bdd
0cb0c412c3
Update communicator.go
...
typo
2014-08-07 14:19:08 -04:00
Mitchell Hashimoto
08c1a19cbf
Merge pull request #161 from desimone/patch-2
...
helper/ssh: equivalent loop
2014-08-07 11:15:44 -07:00
bdd
dbe946a97a
Update communicator.go
...
Naming convention consistencies.
2014-08-07 13:53:18 -04:00
bdd
b55ab5d5b4
Update password.go
...
Loop is equivalent.
2014-08-07 13:41:41 -04:00
bdd
fd60ddaacd
Update provisioner.go
...
Comment should be capitalized to match exported function "VerifySSH"
2014-08-07 13:19:03 -04:00
Alex Gaynor
46154ca1d3
Fixed a ton of typos in docs and comments
2014-08-07 00:19:56 -07:00
Mitchell Hashimoto
a74775d077
helper/ssh: error if private key on SSH [GH-73]
2014-08-05 09:53:02 -07:00
Armon Dadgar
b84814539f
Refactor shared SSH setup code
2014-07-16 10:33:44 -07:00
Armon Dadgar
2c3e619960
Removing unused constants
2014-07-16 10:33:44 -07:00
Armon Dadgar
8691a3ce91
Refactor helper methods out of provisioner
2014-07-16 10:33:44 -07:00
Armon Dadgar
b56a7d6957
helper/ssh: Adding Connect function
2014-07-15 12:34:07 -07:00
Armon Dadgar
9ad4531d10
helper/ssh: Importing SSH stuff from Packer
2014-07-15 12:34:06 -07:00