Merge lp:~thumper/juju-core/ssh-run-on-remote into lp:~go-bot/juju-core/trunk
Proposed by
Tim Penhey
Status: | Merged |
---|---|
Approved by: | Tim Penhey |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2189 |
Proposed branch: | lp:~thumper/juju-core/ssh-run-on-remote |
Merge into: | lp:~go-bot/juju-core/trunk |
Diff against target: |
205 lines (+196/-0) 2 files modified
utils/ssh/run.go (+80/-0) utils/ssh/run_test.go (+116/-0) |
To merge this branch: | bzr merge lp:~thumper/juju-core/ssh-run-on-remote |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Engineering | Pending | ||
Review via email: mp+201095@code.launchpad.net |
Commit message
Add ssh utility function.
Adds a function that wraps ssh to execute a list of
commands on a remote machine.
The function takes a timeout parameter that kills the
connection if the command takes too long.
Description of the change
Add ssh utility function.
Adds a function that wraps ssh to execute a list of
commands on a remote machine.
The function takes a timeout parameter that kills the
connection if the command takes too long.
To post a comment you must log in.
Reviewers: mp+201095_ code.launchpad. net,
Message:
Please take a look.
Description:
Add ssh utility function.
Adds a function that wraps ssh to execute a list of
commands on a remote machine.
The function takes a timeout parameter that kills the
connection if the command takes too long.
https:/ /code.launchpad .net/~thumper/ juju-core/ ssh-run- on-remote/ +merge/ 201095
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/49940045/
Affected files (+204, -0 lines): run_test. go
A [revision details]
A utils/ssh/run.go
A utils/ssh/