authorized-keys is now optional
Rick Harding
rick.harding at canonical.com
Fri Jul 8 13:04:38 UTC 2016
Thanks Andrew.
On Fri, Jul 8, 2016 at 8:50 AM Andrew Wilkins <andrew.wilkins at canonical.com>
wrote:
> On Fri, Jul 8, 2016 at 8:30 PM Rick Harding <rick.harding at canonical.com>
> wrote:
>
>> Thanks Andrew. Do we hvae some hinting error messages in place for when a
>> user attempts to juju ssh, juju run, etc and the ssh key is not set for the
>> user that leads them to the add-ssh-key commands?
>>
>
> No. I've filed https://bugs.launchpad.net/juju-core/+bug/1600221.
>
>
>> Thanks
>>
>> Rick
>>
>> On Fri, Jul 8, 2016 at 12:15 AM Andrew Wilkins <
>> andrew.wilkins at canonical.com> wrote:
>>
>>> Hi users of the add-model API,
>>>
>>> The authorized-keys config is now only required at bootstrap time,
>>> because bootstrapping involves an SSH step. This means you no longer need
>>> to specify authorized-keys in your config for add-model.
>>>
>>> The Juju CLI will now automatically read ~/.ssh/id_rsa.pub and friends
>>> into authorized-keys when adding a model, just as bootstrap does. If no
>>> public keys are found, a warning will be displayed. You can still add keys
>>> later using the "juju add-ssh-key" command.
>>>
>>> If you've been specifying a nonsense authorized-keys value just to get
>>> add-model to work (hi Juju GUI), then please change your code to not pass
>>> anything. At the moment we do not validate the input, but we may want to
>>> change that later on.
>>>
>>> (This is on master, and will go into 2.0-beta12.)
>>>
>>> Cheers,
>>> Andrew
>>>
>> --
>>> Juju-dev mailing list
>>> Juju-dev at lists.ubuntu.com
>>> Modify settings or unsubscribe at:
>>> https://lists.ubuntu.com/mailman/listinfo/juju-dev
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju-dev/attachments/20160708/5f3ce554/attachment.html>
More information about the Juju-dev
mailing list