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

2016-05-26 Thread Curtis Hovey-Canonical
On Wed, May 25, 2016 at 5:11 PM, Cheryl Jennings wrote: > Hi Phani, > > Is the key used for the machine known to juju? You can view the ssh keys > with `juju authorized-keys list` for juju 1.x, and `juju list-ssh-keys` for > juju 2.0. > > If it's not there, you can

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

2016-05-21 Thread phani shankar
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@10.115.0.2 ERROR subprocess encountered error code 255 (Permission denied (publickey).)