Commit Graph

25 Commits

Author SHA1 Message Date
Mitchell Hashimoto 613322d98b communicator/ssh: log when remote exits 2013-07-30 17:06:22 -07:00
Mitchell Hashimoto 1812efe3b5 communicator/ssh: use SetExited 2013-07-29 12:12:42 -07:00
Jeff Stamerjohn 41df9fa2e8 Windows fixes
Strip carriage returns from end of lines in virtualbox/driver.go, fixing wait for virtualbox host shutdown.
Fix target upload directory path in communicator.go to use forward slashes.  (When running on windows path/filepath returns backslashes...which does not work when the target host is unix).
2013-07-25 09:28:04 -07:00
Mitchell Hashimoto 5b8c372fdc communicator/ssh: style
/cc @markpeek - The main thing is that the style for variables/methods
in Go is to use CamelCase (with the first letter generally downcased
unless an exported thing).
2013-07-19 14:16:39 -04:00
Mitchell Hashimoto abf4cfecb2 communicator/ssh: remove complete TODO 2013-07-19 14:09:20 -04:00
Mark Peek a8a53fb0b4 Return errors from remote scp command
Currently file provisioners will silently fail when there is an error
with the remote side. This commit checks the scp error code and will
return the error message from the remote.
2013-07-17 18:15:42 -07:00
Mitchell Hashimoto b353c4946e communicator/ssh: improved logging 2013-07-14 21:07:32 +09:00
Mitchell Hashimoto 343614a172 fmt 2013-07-14 20:55:27 +09:00
Mitchell Hashimoto f65711c716 communicator/ssh: re-establish ssh connection if possible [GH-152] 2013-07-14 20:55:02 +09:00
Mitchell Hashimoto 4d297315c4 communicator/ssh: have a Connection func so we can re-establish
[GH-152]
2013-07-14 20:22:57 +09:00
Mitchell Hashimoto eb009ca4e3 communicator/ssh: show more descriptive error if SCP not avail [GH-127] 2013-07-07 12:23:32 -07:00
Mitchell Hashimoto 2ac81bfc4d fmt 2013-06-23 20:43:50 -07:00
Mitchell Hashimoto 641c626f11 communicator/ssh: request a PTY 2013-06-23 17:36:45 -07:00
Mitchell Hashimoto dc6519f7c1 communicator/ssh: remove unusable code 2013-06-17 15:20:31 -07:00
Mitchell Hashimoto 1cea606f12 communicator/ssh: Adhere to new Communicator interface 2013-06-02 23:27:01 -07:00
Mitchell Hashimoto ace53450b9 packer: More efficient RemoteCommand.ExitChan 2013-06-01 17:57:26 -07:00
Mitchell Hashimoto c6dd54760c Get everything compiling again 2013-06-01 17:48:19 -07:00
Mitchell Hashimoto b26ff7a6eb communicator/ssh: More logging 2013-05-27 22:05:33 -07:00
Mitchell Hashimoto 81d8b20730 Update TODO, since Upload is implemented 2013-05-24 09:48:24 -07:00
Mitchell Hashimoto 69f1d0fd9f communicator/ssh: Clearer TODO message about acks 2013-05-24 09:40:20 -07:00
Mitchell Hashimoto eb5f478ee7 communicator/ssh: Return error if non-zero exit status on Upload 2013-05-24 09:27:28 -07:00
Mitchell Hashimoto 821d27a6bb communicator/ssh: More complete SCP 2013-05-24 09:06:13 -07:00
Mitchell Hashimoto d8ad9ca106 communicator/ssh: A first pass at SCP uploading 2013-05-24 08:23:48 -07:00
Mitchell Hashimoto bee266008e communicator/ssh: Ensure valid communicator 2013-05-20 15:52:34 -07:00
Mitchell Hashimoto 08ac912cb7 Start work on SSH communicator 2013-05-20 15:47:41 -07:00