[one-users] facing a problem about SSH

Ettore Enrico Delfino Ligorio ettoreusp at gmail.com
Wed Mar 24 17:03:17 PDT 2010


Hi,

You must edit /etc/ssh/ssh_config of the frontend to hove something silimar to:

########################################
Host *
	ForwardX11Trusted yes
	ForwardX11 yes
        StrictHostKeyChecking no   # this line takes care of that question
########################################

What vmm driver you are using? xen, kvm or vmware?

About the files refered in the context. Does they exist?

Can you send us the $ONE_LOCATION/var/log/one/<VMID>.log?

Just for clarity, try to remove lines with #  and add a space before the last ]

Best regards.
--
Ettore Enrico Delfino Ligorio
+55-11-3091-6480

2010/3/24 hy xu <xuhy.bupt at gmail.com>:
> hi,
>
> Sorry for my question.
>
> This time I did not do anything.at first everything is OK. The status of
> hosts is on and I can tail the log.
>
> But When I decide to create VM,  the status changed to err.
> I don't know what happened and I still can sudo -u oneadmin ssh
> 192.168.111.6 .5(my nodes)
>
> it always display these:
> The authenticity of host '192.168.111.6 (192.168.111.6)' can't be
> established.
> RSA key fingerprint is c9:d1:99:fa:2f:e8:20:c2:44:6c:b2:b9:e0:d5:17:74.
> Are you sure you want to continue connecting (yes/no)?
> The authenticity of host '192.168.111.6 (192.168.111.6)' can't be
> established.
> RSA key fingerprint is c9:d1:99:fa:2f:e8:20:c2:44:6c:b2:b9:e0:d5:17:74.
> Are you sure you want to continue connecting (yes/no)?
> The authenticity of host '192.168.111.6 (192.168.111.6)' can't be
> established.
> RSA key fingerprint is c9:d1:99:fa:2f:e8:20:c2:44:6c:b2:b9:e0:d5:17:74.
> Are you sure you want to continue connecting (yes/no)?
>
> And Another question is about VM creation.
>
> I used the example from internet:ttylinux and try to modify the vm template
> to fit my situation.
>
> and the template is below:
>  NAME   = testvm
> CPU    = 0.1
> MEMORY = 64
> DISK   = [
>   source   = "/srv/cloud/one-templates/ttylinux.img",
>   target   = "hda",
>   readonly = "no" ]
> NIC    = [ NETWORK = "DSN Lan" ]
> FEATURES = [ acpi="no" ]
> CONTEXT = [
> #    hostname    = "DSN",
>     ip_public   = "192.168.111.10",
>     files      = "/srv/cloud/one-templates/init.sh
> /srv/cloud/one-templates/id_rsa.pub",
> #    target      = "hdc",
> #    root_pubkey = "id_rsa.pub",
>     username    = "opennebula"]
> #    user_pubkey = "id_rsa.pub"
>
> the error is it can not parse the template.
>
>  the context section can not be recongnize?
>
> Thank you so much for your help.
>
> Alex
> 2010/3/22 Tres Wong-Godfrey <tres at blas.phemo.us>
>>
>> On Mar 22, 2010, at 6:15 AM, hy xu wrote:
>>
>> > But someone modified the SSH configuration in two nodes using SSH-keygen
>> > commond.
>> >
>> > And after that the status changed to error, and always point out that
>> > root at XXXx password:
>> >
>> > I have tried some methods but It seems still wrong~
>> >
>> > What should I do?
>> >
>> Hi Alex,
>>
>> Have you tried removing the ssh fingerprint for the two machines from
>> ~oneadmin/.ssh/known_hosts ?
>>
>>
>> Good Luck.
>>
>> Regards,
>> Tres
>>
>> Tres Wong-Godfrey
>
>
> --
> Best Wishes~
>
> 许辉阳
> 中国移动通信研究院
> Huiyang Xu
> China Mobile Research Institute
> 邮箱: xuhuiyang at chinamobile.com
> 手机:+86 13810485177
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>



More information about the Users mailing list