[one-users] Problem Login/ssh into vm
Carlos Martín Sánchez
cmartin at opennebula.org
Wed Dec 18 04:05:37 PST 2013
Hi,
On Wed, Dec 18, 2013 at 12:03 PM, Alexander Sibetheros <alexsibeth at gmail.com
> wrote:
>
> I checked the marketplace.. all vms for xen/vmware bases have default
> username/passwords.
> KVM on the otherhand writes: Add `SSH_PUBLIC_KEY` to contextualization to
> set root credentials.
>
I assume you are using this image from the marketplace:
http://docs.opennebula.org/stable/administration/references/schg.html#configuration
Maybe the problem is a wrong syntax in the VM template. Can you paste its
contents?
It should follow the syntax described here:
http://docs.opennebula.org/stable/user/references/template.html?highlight=context#context-section
You can read more about the contextualization mechanism here:
http://docs.opennebula.org/stable/user/virtual_machine_setup/context_overview.html
Regards
--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | cmartin at opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>
On Wed, Dec 18, 2013 at 12:03 PM, Alexander Sibetheros <alexsibeth at gmail.com
> wrote:
> Unfortunately no..
> I checked the marketplace.. all vms for xen/vmware bases have default
> username/passwords.
> KVM on the otherhand writes: Add `SSH_PUBLIC_KEY` to contextualization to
> set root credentials.
>
>
>
>
> On Wed, Dec 18, 2013 at 12:47 PM, Jens Hoffmann <jens.hoffmann at cuesoft.eu>wrote:
>
>> Does this link provide correct credentials for your image:
>>
>> http://opennebula.org/cloud:sandbox:kvm#what_are_the_users_and_the_passwords
>> ?
>>
>>
>> Jens
>>
>> --
>> gpg --keyserver pgp.mit.edu --recv-keys 0xDB1CAFB5
>>
>>
>>
>>
>> On 12/18/2013 11:31 AM, Alexander Sibetheros wrote:
>> > I recently set up a simple 2 node opennebula(ubuntu/kvm) (using vmware
>> > vm's), following the tutorial.
>> >
>> > I got a centOS vm to run, but cannot log in.
>> > I read on other sites that login in is done via ssh and not vnc, but
>> > whenever I ssh root at ..vm_ip... I get prompted for password which I
>> > dont have.
>> >
>> >
>> > I followed this step from the tutorial(before running I ran ssh-keygen
>> > -t dsa, because the id_dsa.pub file did not exist):
>> >
>> > """In order to dynamically add ssh keys to Virtual Machines we must
>> > add our ssh key to the user template, by editing the user template:
>> >
>> > $ EDITOR=vi oneuser update oneadmin
>> >
>> > Add a new line like the following to the template:
>> >
>> > SSH_PUBLIC_KEY="ssh-dss AAAAB3NzaC1kc3MAAACBANBWTQmm4Gt..."
>> >
>> > Substitute the value above with the output of |cat
>> ~/.ssh/id_dsa.pub|."""
>> >
>> >
>> >
>> > --
>> > Alexander Sibetheros
>> >
>> >
>> > _______________________________________________
>> > Users mailing list
>> > Users at lists.opennebula.org
>> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>
>
>
> --
> Alexander Sibetheros
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131218/ac75da01/attachment-0002.htm>
More information about the Users
mailing list