<div dir="ltr"><div><div>I recently set up a simple 2 node opennebula(ubuntu/kvm) (using vmware vm's), following the tutorial.<br><br>I got a centOS vm to run, but cannot log in.<br></div>I read on other sites that login in is done via ssh and not vnc, but whenever I ssh root@..vm_ip... I get prompted for password which I dont have.<br>

<br></div><div><br></div>I followed this step from the tutorial(before running I ran ssh-keygen -t dsa, because the id_dsa.pub file did not exist):<br><p>
"""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:
</p><pre class="">$ EDITOR=vi oneuser update oneadmin
</pre>


<p>
Add a new line like the following to the template:
</p>
<pre class="">SSH_PUBLIC_KEY="ssh-dss AAAAB3NzaC1kc3MAAACBANBWTQmm4Gt..."</pre>

<p>
Substitute the value above with the output of <code>cat ~/.ssh/id_dsa.pub</code>."""</p><br clear="all"><div><div><div><div><br>-- <br><div dir="ltr"><div><div><div>Alexander Sibetheros<br></div></div></div>

</div>
</div></div></div></div></div>