Unable to add machine that uses public/private key based authentication

phani shankar phanishankarpr at gmail.com
Sat May 21 12:18:47 UTC 2016


Hi,

     I am trying to use add-machine command to add a machine to juju
environment. The machine being added uses public/private key
authentication. I am facing following error.

juju add-machine ssh:ubuntu at 10.115.0.2
ERROR subprocess encountered error code 255 (Permission denied (publickey).)


This works fine when I use the command to add a machine which does password
based authentication. I understand that it is due to not passing the
correct key credentials. But I am not sure how I can pass necessary
credentials. Please advise.

Regards,
PHANI SHANKAR
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju-dev/attachments/20160521/e29702b1/attachment.html>


More information about the Juju-dev mailing list