help for juju ssh is slightly wrong

Bug #1245427 reported by John A Meinel
6
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.

Tags: docs ssh ui help

Related branches

John A Meinel (jameinel)
tags: added: help ui
Curtis Hovey (sinzui)
Changed in juju-core:
assignee: nobody → Abel Deuring (adeuring)
Revision history for this message
Curtis Hovey (sinzui) wrote :

I think unit is correct as is pointed out in bug 1226591
The fix for this is at
    cmd/juju/ssh.go

tags: added: ssh
Abel Deuring (adeuring)
Changed in juju-core:
status: Triaged → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: none → 1.17.0
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.