help for juju ssh is slightly wrong
Bug #1245427 reported by
John A Meinel
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
Low
|
Abel Deuring |
Bug Description
I'm not 100% sure what the correct syntax is but "juju ssh -h" currently gives:
juju ssh [options] <service> [<ssh args>...]
However, I'm 90% certain that you don't give a *service*. I'm guessing you give a machine id (juju ssh 1), but it would be possible to give a Unit (which has a specific machine it is on). But since a service is a collection of units, I'm pretty sure you can't supply that.
It is possible that if you do give a service (eg mysql) we check to see if there is only one unit, and find what machine that is on.
Related branches
lp:~adeuring/juju-core/1245427
- John A Meinel: Approve
-
Diff: 56 lines (+17/-6)2 files modifiedcmd/juju/cmd_test.go (+1/-1)
cmd/juju/ssh.go (+16/-5)
tags: | added: help ui |
Changed in juju-core: | |
assignee: | nobody → Abel Deuring (adeuring) |
Changed in juju-core: | |
status: | Triaged → Fix Committed |
Changed in juju-core: | |
milestone: | none → 1.17.0 |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I think unit is correct as is pointed out in bug 1226591
The fix for this is at
cmd/juju/ssh.go