[one-users] facing a problem about SSH

hy xu xuhy.bupt at gmail.com
Wed Mar 24 03:18:06 PDT 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100324/15efe3c7/attachment-0001.htm>


More information about the Users mailing list