Add-Machine does not support non-standard ssh port
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | juju-core |
Low
|
Unassigned | ||
Bug Description
This probably bleeds over into other environments as well, but i have personally confirmed this to be the case in a manual provider environment (using the do plugin)
The add-machine command does not appear to accept a non-standard ssh port in the stanza to add a machine:
$ juju add-machine ssh:root@
error: flag provided but not defined: -p
$ juju add-machine ssh:root@
error: flag provided but not defined: --port
$ juju add-machine ssh:root@
ERROR subprocess encountered error code 255 (ssh: Could not resolve hostname 104.131.
$ juju add-machine ssh:root@
error: unrecognized args: ["8888"]
This seems like something we should support unless port 22 is hard coded against all machines, and a base level expectation of the environment.
| summary: |
- Manual environment does not support add-machine with non-standard ssh - port + Add-Machine does not support non-standard ssh port |
| tags: | added: ssh |
| tags: | added: add-machine |
| Changed in juju-core: | |
| status: | New → Triaged |
| importance: | Undecided → Low |
| Dong Xie (xied75) wrote : | #1 |
| Changed in juju-core: | |
| status: | Triaged → Won't Fix |


On a related point, "juju bootstrap" does not allow port number too. Very annoying.