Tuan, there is no key in your .ssh directory. You will need that anyway.<br>Make sure the key pair file and the public key are available in that directory. After that, depending on how you generated the key files (using ssh-keygen or openssl) you just need to copy your public key to .ssh/authorized_keys. If it was created with openssl you can export it using ssh-keygen as well.<br>
<br>cheers<br><br><br><br><div class="gmail_quote">On Wed, Oct 3, 2012 at 6:04 AM, Tuan Le Doan <span dir="ltr"><<a href="mailto:tuan.fetk52@gmail.com" target="_blank">tuan.fetk52@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I use only one machine for both of Master and Host (I installed OpenNebula and KVM in 1 server).<div class="HOEnZb"><div class="h5"><br><br><div class="gmail_quote">2012/10/3 Duverne, Cyrille <span dir="ltr"><<a href="mailto:cyrille.duverne@euranova.eu" target="_blank">cyrille.duverne@euranova.eu</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>Hello Tuan,<br><br>Are you sure that the ssl key of oneadmin on your Master machine is the same than the one in your Host ?<br>

<font face=""><div><br><div>CyD<br><br>
Blog : <a href="http://blog.cduverne.com" target="_blank">http://blog.cduverne.com</a><br>
Twitter : @CydsWorld<br>
<br>
"Imagination is more important than Knowledge"<br>
Albert Einstein</div><br><br><br></div>Mercredi 03/10/2012 à 9:43 Tuan Le Doan a écrit:<div><div><br><blockquote style="border:0;border-left:2px solid #22437f;padding:0px;margin:0px;padding-left:5px;margin-left:5px">
Hi CyD,<br><br>This is the output:<br><br>[oneadmin@centoshost Desktop]$ ls -lArth /var/lib/one/.ssh/config <br>-rw-rw-r--. 1 oneadmin oneadmin 33 Sep 24 15:35 /var/lib/one/.ssh/config<br><br>Do you know how can i do to fix it?<br>


<br>Thanks.<br><div class="gmail_quote">2012/10/3 Duverne, Cyrille <span dir="ltr"><<a href="mailto:cyrille.duverne@euranova.eu" target="_blank">cyrille.duverne@euranova.eu</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div><font face="arial">Hello Tuan,</font><br><br>Could you send the output of : " ls -lArth /var/lib/one/.ssh/config "<br><br>I suspect you didn't chown -R the directory.<br><br>Kind regards<br>CyD<br>


<font face="arial"><div><br>
Blog : <a href="http://blog.cduverne.com" target="_blank">http://blog.cduverne.com</a><br>
Twitter : @CydsWorld<br>
<br>
"Imagination is more important than Knowledge"<br>
Albert Einstein</div><br><br><br>Mercredi 03/10/2012 à 6:58 Tuan Le Doan a écrit:<div><div><br><blockquote style="border:0;border-left:2px solid #22437f;padding:0px;margin:0px;padding-left:5px;margin-left:5px">
<br>Dear all,<br><br> <br>I have installed Opennebula 3.6 and KVM successful on single machine (CentOS 6.3).<br><br>But when I add host and run “onehost list” command, the state of host is error.<br><br>I checked the log file and saw “Bad owner or permisions on /var/lib/one/.ssh/config” message.<br>



<br> <br>So I think my error is the password less connection to host was lost.<br><br>I tried to change permission of /var/lib/one to oneadmin user with “sudo chown oneadmin:oneadmin /var/lib/one” but it’s still error.<br>



<br>I couldn’t create SSH key for oneadmin because of “Bad owner or permisions on /var/lib/one/.ssh/config” error.<br><br> <br>Anyone can help me to fix it?<br><br> <br>Regards.<br clear="all"><br>-- <br><div><b><font color="#3333ff" face="georgia, serif">Le Doan Tuan</font><font style="font-family:tahoma,sans-serif" color="#999999">-----------------------------------------------------</font></b><div>



<font color="#666666" face="tahoma, sans-serif">Undergraduate Student of School of Electronic<span style="line-height:19px">s & Telecommunications.</span></font></div><div><font face="tahoma, sans-serif"><span style="line-height:19px"><font color="#666666">Hanoi University of Science & Technology</font><br>



</span></font><div><div><font color="#999999" face="tahoma, sans-serif">Tel    : +84 987 248 215</font></div><div><font color="#999999" face="tahoma, sans-serif">Yahoo: ledoantuan1</font></div><div><font color="#999999" face="tahoma, sans-serif">Skype: ledoantuan1</font></div>



</div></div></div><br></blockquote></div></div></font></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div><b><font color="#3333ff" face="georgia, serif">Le Doan Tuan</font><font style="font-family:tahoma,sans-serif" color="#999999">-----------------------------------------------------</font></b><div>


<font color="#666666" face="tahoma, sans-serif">Undergraduate Student of School of Electronic<span style="line-height:19px">s & Telecommunications.</span></font></div><div><font face="tahoma, sans-serif"><span style="line-height:19px"><font color="#666666">Hanoi University of Science & Technology</font><br>


</span></font><div><div><font color="#999999" face="tahoma, sans-serif">Tel    : +84 987 248 215</font></div><div><font color="#999999" face="tahoma, sans-serif">Yahoo: ledoantuan1</font></div><div><font color="#999999" face="tahoma, sans-serif">Skype: ledoantuan1</font></div>


</div></div></div><br></blockquote></div></div></font><br></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div><b><font color="#3333ff" face="georgia, serif">Le Doan Tuan</font><font style="font-family:tahoma,sans-serif" color="#999999">-----------------------------------------------------</font></b><div>

<font color="#666666" face="tahoma, sans-serif">Undergraduate Student of School of Electronic<span style="line-height:19px">s & Telecommunications.</span></font></div><div><font face="tahoma, sans-serif"><span style="line-height:19px"><font color="#666666">Hanoi University of Science & Technology</font><br>

</span></font><div><div><font color="#999999" face="tahoma, sans-serif">Tel    : +84 987 248 215</font></div><div><font color="#999999" face="tahoma, sans-serif">Yahoo: ledoantuan1</font></div><div><font color="#999999" face="tahoma, sans-serif">Skype: ledoantuan1</font></div>

</div></div></div><br>
</div></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><br clear="all"><br>-- <br>Have you tried turning it off and on again?<br>