[one-users] Problem Login/ssh into vm
Alexander Sibetheros
alexsibeth at gmail.com
Wed Dec 18 02:31:36 PST 2013
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131218/eb4f5a11/attachment.htm>
More information about the Users
mailing list