$sudo ssh-keygen<br>$cp ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys<br>$ssh localhost<br> I can able to login success<br>$ubuntu@domU-12-31-38-00-B5-77:~$ cat /srv/cloud/one/.ssh/config<br>cat: /srv/cloud/one/.ssh/config: No such file or directory<br>
<br><br><br><br><div class="gmail_quote">On Fri, Mar 26, 2010 at 3:55 PM, Stefan Freitag <span dir="ltr"><<a href="mailto:stefan.freitag@udo.edu">stefan.freitag@udo.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br>
<br>
the oneadmin user should be available on all hosts you want to add via<br>
onehost command (the uid/gid should also be the same on all systems)<br>
<br>
You can check this by running<br>
id oneadmin<br>
on each host and compare the output.<br>
<br>
After this you should create a private and a public key for oneadmin and<br>
share the public key to all the physical hosts. How to enable the hosts to<br>
work with keys can be found in ssh tutorial ;-)<br>
<div><div></div><div class="h5"><br>
Kind regards<br>
Stefan<br>
<br>
clouduser s schrieb:<br>
> oneadmin username was alreqady available<br>
> So i started deleting and creating the user as follows,<br>
> $sudo useradd -d /srv/cloud/one -g cloud -m oneadmin<br>
> useradd: cannot create directory /srv/cloud/one<br>
><br>
><br>
><br>
><br>
> On Fri, Mar 26, 2010 at 3:11 PM, clouduser s <<a href="mailto:jcclouduser@gmail.com">jcclouduser@gmail.com</a>><br>
> wrote:<br>
><br>
>> Your right i was unable to do ssh with oneadmin<br>
>> How to configure ?<br>
>><br>
>><br>
>><br>
>> On Fri, Mar 26, 2010 at 2:35 PM, Stefan Freitag<br>
>> <<a href="mailto:stefan.freitag@udo.edu">stefan.freitag@udo.edu</a>>wrote:<br>
>><br>
>>> Hi,<br>
>>><br>
>>> it seems to me that there is a problem with the information system.<br>
>>><br>
>>> Could you please check if you can ssh (as oneadmin user) passwordless<br>
>>> to<br>
>>> host01 and host02? Additionally you can check file some files in the<br>
>>> /tmp<br>
>>> directory on this hosts, usually there should exist a one-im<br>
>>> subdirectory<br>
>>> in /tmp.<br>
>>><br>
>>><br>
>>> Kind regards<br>
>>> Stefan<br>
>>><br>
>>> clouduser s schrieb:<br>
>>> > OS: Ubuntu 9.10<br>
>>> ><br>
>>> > $sudo apt-get install openjdk-6-jdk<br>
>>> > $sudo apt-get install apt-get install opennebula<br>
>>> > $sudo onehost add host01 im_kvm vmm_kvm tm_ssh<br>
>>> > $sudo onehost add host02 im_kvm vmm_kvm tm_ssh<br>
>>> > $onehost list<br>
>>> > $HID NAME RVM TCPU FCPU ACPU TMEM FMEM STAT<br>
>>> > 0 host01 0 0 100 err<br>
>>> > 1 host02 0 0 100 err<br>
>>> ><br>
>>> > could you please assist what i done mistake...<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>
>>><br>
>>><br>
>>> --<br>
>>> Dipl.-Inform. Stefan Freitag<br>
>>> Institut für Roboterforschung - Abteilung Informationstechnik<br>
>>> Universitaet Dortmund | phone: +49 (0)231-755-7009<br>
>>> Otto-Hahn-Str. 8 | mobile: +49 (0)176-23900074<br>
>>> 44221 Dortmund, Germany | fax: +49 (0)231-755-3251<br>
>>> <a href="http://www.irf.uni-dortmund.de" target="_blank">www.irf.uni-dortmund.de</a> | email: <a href="mailto:stefan.freitag@udo.edu">stefan.freitag@udo.edu</a><br>
>>><br>
>>><br>
>><br>
><br>
<br>
<br>
<br>
<br>
</div></div></blockquote></div><br>