<div dir="ltr">Hi,<div><br></div><div>     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.</div><div><br></div><div>juju add-machine <a href="mailto:ssh%3Aubuntu@10.115.0.2">ssh:ubuntu@10.115.0.2</a></div><div><div>ERROR subprocess encountered error code 255 (Permission denied (publickey).)</div><div><br></div><div><br></div><div>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.</div><div><br></div>Regards,<br><div class="gmail_signature">PHANI SHANKAR</div>
</div></div>