<div dir="ltr"><div><div><div><div><div><div>Hello <span name="Guilherme Guimaraes" class="">Guilherme,<br><br></span></div><span name="Guilherme Guimaraes" class="">I had the same problem.  How are you creating your template?  And what version of OpenNebula are you on?<br>
<br></span></div><div><span name="Guilherme Guimaraes" class="">I'm using 4.0RC (3.9.90 I believe it is called), so what follows is based on my experience with the newest version.<br></span></div><div><span name="Guilherme Guimaraes" class=""><br>
I've found it's easiest to use Sunstone to create my first template, then use that template for future cli interaction.<br><br></span></div><span name="Guilherme Guimaraes" class="">If you're creating a template in Sunstone, follow the dialogue and on the "Context" tab there is a box for you to paste your SSH keys.  just make sure each key is on its own line, as the box is small, the key wraps making it hard to tell sometimes.<br>
<br></span></div><span name="Guilherme Guimaraes" class="">e.g.:<br><br></span></div><span name="Guilherme Guimaraes" class="">>> ssh-rsa <ssh key> <a href="mailto:foo@bar.com">foo@bar.com</a><br></span><span name="Guilherme Guimaraes" class="">>> ssh-rsa <ssh key> <a href="mailto:root@bar.com">root@bar.com</a></span><br>
<br></div>Hope that helps.<br><br></div>Best Regards,<br>Jon A<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Apr 28, 2013 at 5:47 PM, Guilherme Guimaraes <span dir="ltr"><<a href="mailto:gboulhosa@gmail.com" target="_blank">gboulhosa@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br clear="all"><span lang="en"><span>How to</span> <span>use</span> <span>the</span> <span>root</span> <span>account</span> <span>setup</span> <span>SSH_PUBLIC_KEY</span> <span>to</span> <span>login</span><span>.</span> <span>Well</span> <span>I downloaded</span> <span>the</span> <span>Ubuntu</span> <span>Marketplace</span><span>,</span> <span>created</span> <span>the machines</span> <span>virtuias</span> <span>but does not come</span> <span>configured</span> <span>login.</span> <span>I downloaded the</span> <span>package</span> <span>context</span><span>,</span> <span>did not understand</span> <span>the documentation</span><span>.<br>

<br></span></span><br><span lang="en"><span><span lang="en"><span>I thank you !!!</span></span><span class="HOEnZb"><font color="#888888"><br></font></span></span></span><span class="HOEnZb"><font color="#888888">-- <br>
<i style="color:rgb(153,153,153)">Atenciosamente, <br>
Guilherme B. Guimarães</i><br><i style="color:rgb(153,153,153)">Mestrando em Ciência da Computação - PPGCC/UFPA</i><br><i style="color:rgb(153,153,153)">Especialista em desenvovilemento para Internet - UFPA<br>Bacharel em Ciência da Computação - UNAMA </i><br>

<font><span style="font-weight:bold;font-family:arial,helvetica,sans-serif"></span></font><br>
</font></span></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br></div>