2.1b5: If I have superuser and admin access, juju add-ssh-key doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
John A Meinel | ||
2.1 |
Fix Released
|
High
|
Ian Booth |
Bug Description
I have to run my old trick of
juju run --all 'ssh-import-id davidpbritton'
to make juju ssh function.
What I expected:
this to work:
dpb@helo:charms[0]$ cat ~/.ssh/id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2E
dpb@helo:charms[0]$ juju add-ssh-key "$(cat ~/.ssh/id_rsa.pub)"
ERROR permission denied (unauthorized access)
dpb@helo:charms[0]$
(Notice, it didn't)
Current permissions:
dpb@helo:charms[0]$ juju list-users
Controller: atlas-lrc
Name Display name Access Date created Last connection
admin admin superuser 2017-02-07 17 minutes ago
dpb2* superuser 2017-02-07 just now
You have new mail in /home/dpb/
dpb@helo:charms[0]$ juju list-users^C
dpb@helo:charms[0]$ juju models
Controller: atlas-lrc
Model Cloud/Region Status Machines Cores Access Last connection
admin/controller* atlas available 5 2 admin just now
admin/default atlas available 0 - admin never connected
dpb@helo:charms[0]$
tags: | added: landscape |
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 2.2.0-alpha1 |
Changed in juju: | |
status: | Fix Committed → Fix Released |
Hmm, why wouldn't you use `juju add-ssh-key`?