You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by "Musayev, Ilya" <im...@webmd.net> on 2012/10/12 05:58:24 UTC

SSH keys and linux VMs on CS 3.0.3 + doc mistake/bug

> I created an ssh key via API call and installed the cloud-ssh script on the linux vm. At the moment I run CS 3.0.3
> 
> I'm able to confirm that linux VM connects to router vm and look for the ssh keys. However on router VM, ssh file is blank. I sshd to a router vm and confirmed it as well in /var/www/html (I think it was metadata)/{IP}/*-ssh
> 
> 
> One other note, I think it's a mistake in doc or bug - the API mention that domainid and account are optional - but when you do an actual API call, it appears that its required. I provided ROOT domain id and my user account name and the key has been generated then.
> 
> If anyone got this part to work, please kindly shed some light on what am I missing.
> 
> Thanks
> ilya


RE: SSH keys and linux VMs on CS 3.0.3 + doc mistake/bug

Posted by Harikrishna Patnala <ha...@citrix.com>.
did you check the api call while deploying your VM? To associate ssh key to your VM, you need to provide the ssh keypair name (that you have already created) while deploying the VM.
-----Original Message-----
From: Musayev, Ilya [mailto:imusayev@webmd.net] 
Sent: 12 October 2012 09:28
To: cloudstack-dev@incubator.apache.org
Subject: SSH keys and linux VMs on CS 3.0.3 + doc mistake/bug

> I created an ssh key via API call and installed the cloud-ssh script on the linux vm. At the moment I run CS 3.0.3
> 
> I'm able to confirm that linux VM connects to router vm and look for the ssh keys. However on router VM, ssh file is blank. I sshd to a router vm and confirmed it as well in /var/www/html (I think it was metadata)/{IP}/*-ssh
> 
> 
> One other note, I think it's a mistake in doc or bug - the API mention that domainid and account are optional - but when you do an actual API call, it appears that its required. I provided ROOT domain id and my user account name and the key has been generated then.
> 
> If anyone got this part to work, please kindly shed some light on what am I missing.
> 
> Thanks
> ilya