[one-users] The STAT flag of Host is Error.
Rodolfo Conte Brufatto
rcbrufatto at gmail.com
Wed Oct 3 03:59:50 PDT 2012
Tuan, there is no key in your .ssh directory. You will need that anyway.
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.
cheers
On Wed, Oct 3, 2012 at 6:04 AM, Tuan Le Doan <tuan.fetk52 at gmail.com> wrote:
> I use only one machine for both of Master and Host (I installed OpenNebula
> and KVM in 1 server).
>
>
> 2012/10/3 Duverne, Cyrille <cyrille.duverne at euranova.eu>
>
>> Hello Tuan,
>>
>> Are you sure that the ssl key of oneadmin on your Master machine is the
>> same than the one in your Host ?
>>
>> CyD
>>
>> Blog : http://blog.cduverne.com
>> Twitter : @CydsWorld
>>
>> "Imagination is more important than Knowledge"
>> Albert Einstein
>>
>>
>>
>> Mercredi 03/10/2012 à 9:43 Tuan Le Doan a écrit:
>>
>> Hi CyD,
>>
>> This is the output:
>>
>> [oneadmin at centoshost Desktop]$ ls -lArth /var/lib/one/.ssh/config
>> -rw-rw-r--. 1 oneadmin oneadmin 33 Sep 24 15:35 /var/lib/one/.ssh/config
>>
>> Do you know how can i do to fix it?
>>
>> Thanks.
>> 2012/10/3 Duverne, Cyrille <cyrille.duverne at euranova.eu>
>>
>>> Hello Tuan,
>>>
>>> Could you send the output of : " ls -lArth /var/lib/one/.ssh/config "
>>>
>>> I suspect you didn't chown -R the directory.
>>>
>>> Kind regards
>>> CyD
>>>
>>> Blog : http://blog.cduverne.com
>>> Twitter : @CydsWorld
>>>
>>> "Imagination is more important than Knowledge"
>>> Albert Einstein
>>>
>>>
>>>
>>> Mercredi 03/10/2012 à 6:58 Tuan Le Doan a écrit:
>>>
>>>
>>> Dear all,
>>>
>>>
>>> I have installed Opennebula 3.6 and KVM successful on single machine
>>> (CentOS 6.3).
>>>
>>> But when I add host and run “onehost list” command, the state of host is
>>> error.
>>>
>>> I checked the log file and saw “Bad owner or permisions on
>>> /var/lib/one/.ssh/config” message.
>>>
>>>
>>> So I think my error is the password less connection to host was lost.
>>>
>>> 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.
>>>
>>> I couldn’t create SSH key for oneadmin because of “Bad owner or
>>> permisions on /var/lib/one/.ssh/config” error.
>>>
>>>
>>> Anyone can help me to fix it?
>>>
>>>
>>> Regards.
>>>
>>> --
>>> *Le Doan Tuan-----------------------------------------------------*
>>> Undergraduate Student of School of Electronics & Telecommunications.
>>> Hanoi University of Science & Technology
>>> Tel : +84 987 248 215
>>> Yahoo: ledoantuan1
>>> Skype: ledoantuan1
>>>
>>>
>>
>>
>> --
>> *Le Doan Tuan-----------------------------------------------------*
>> Undergraduate Student of School of Electronics & Telecommunications.
>> Hanoi University of Science & Technology
>> Tel : +84 987 248 215
>> Yahoo: ledoantuan1
>> Skype: ledoantuan1
>>
>>
>>
>
>
> --
> *Le Doan Tuan-----------------------------------------------------*
> Undergraduate Student of School of Electronics & Telecommunications.
> Hanoi University of Science & Technology
> Tel : +84 987 248 215
> Yahoo: ledoantuan1
> Skype: ledoantuan1
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
--
Have you tried turning it off and on again?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20121003/f9b74150/attachment-0002.htm>
More information about the Users
mailing list