<div dir="ltr"><div><div>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?<br><br></div>Thanks<br><br></div>Rick<br></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Jul 8, 2016 at 12:15 AM Andrew Wilkins <<a href="mailto:andrew.wilkins@canonical.com">andrew.wilkins@canonical.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi users of the add-model API,<div><br></div><div>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.</div><div><br></div><div>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.</div><div><br></div><div>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.</div><div><br></div><div>(This is on master, and will go into 2.0-beta12.)</div><div><br></div><div>Cheers,</div><div>Andrew</div></div>
--<br>
Juju-dev mailing list<br>
<a href="mailto:Juju-dev@lists.ubuntu.com" target="_blank">Juju-dev@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/juju-dev" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/juju-dev</a><br>
</blockquote></div>