You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Harikrishna Patnala <ha...@citrix.com> on 2012/10/09 08:52:56 UTC
Reset SSH key support to access VM
A user VM can be associated with a SSH key pair while deploying that VM. A user can SSH into the VM using the SSH private Key. But there should be a provision to reset that SSH key pair corresponding to that VM, i.e., to associate a new SSH key pair to the VM. This feature aims to reset the SSH key corresponding to the VM. Please find the functional spec here at the link https://cwiki.apache.org/confluence/display/CLOUDSTACK/Reset+SSH+key+Functional+Spec
Please review and provide your feedback on this feature.
Thank you,
Harikrishna Pantala
RE: Reset SSH key support to access VM
Posted by "Musayev, Ilya" <im...@webmd.net>.
Thank you Rajesh
-ilya
-----Original Message-----
From: Rajesh Battala [mailto:rajesh.battala@citrix.com]
Sent: Wednesday, October 10, 2012 1:42 PM
To: cloudstack-dev@incubator.apache.org
Subject: RE: Reset SSH key support to access VM
Musayev,
Yes, you need a template with cloud-set-guest-sshkey script as a init service.
Once Instances created from this template, the script will run at the boot time and will download the ssh key assigned to the VM (while creation ) to the VM .
Thanks
Rajesh Battala
-----Original Message-----
From: Musayev, Ilya [mailto:imusayev@webmd.net]
Sent: Wednesday, October 10, 2012 11:02 PM
To: cloudstack-dev@incubator.apache.org
Subject: RE: Reset SSH key support to access VM
The part that I'm uncertain, how does CS interacts with guest VM and manages the key pairs?
Do I need to do something special when I create OS Template for this feature to work?
-----Original Message-----
From: prasanna [mailto:srivatsav.prasanna@gmail.com] On Behalf Of Prasanna Santhanam
Sent: Wednesday, October 10, 2012 11:14 AM
To: cloudstack-dev@incubator.apache.org
Subject: Re: Reset SSH key support to access VM
On Tue, Oct 09, 2012 at 11:19:19AM -0400, Musayev, Ilya wrote:
> I've read the reset ssh key spec, is this something proposed or
> already functional can be integrated into images?
Provision for registering/creating SSH keypairs exists already the API - check registerSSHKeypair/createSSHKeypair. These can be retrieved as meta-data by querying the gateway of the userVM.
--
Prasanna.,
RE: Reset SSH key support to access VM
Posted by Rajesh Battala <ra...@citrix.com>.
Musayev,
Yes, you need a template with cloud-set-guest-sshkey script as a init service.
Once Instances created from this template, the script will run at the boot time and will download the ssh key assigned to the VM (while creation ) to the VM .
Thanks
Rajesh Battala
-----Original Message-----
From: Musayev, Ilya [mailto:imusayev@webmd.net]
Sent: Wednesday, October 10, 2012 11:02 PM
To: cloudstack-dev@incubator.apache.org
Subject: RE: Reset SSH key support to access VM
The part that I'm uncertain, how does CS interacts with guest VM and manages the key pairs?
Do I need to do something special when I create OS Template for this feature to work?
-----Original Message-----
From: prasanna [mailto:srivatsav.prasanna@gmail.com] On Behalf Of Prasanna Santhanam
Sent: Wednesday, October 10, 2012 11:14 AM
To: cloudstack-dev@incubator.apache.org
Subject: Re: Reset SSH key support to access VM
On Tue, Oct 09, 2012 at 11:19:19AM -0400, Musayev, Ilya wrote:
> I've read the reset ssh key spec, is this something proposed or
> already functional can be integrated into images?
Provision for registering/creating SSH keypairs exists already the API - check registerSSHKeypair/createSSHKeypair. These can be retrieved as meta-data by querying the gateway of the userVM.
--
Prasanna.,
RE: Reset SSH key support to access VM
Posted by "Musayev, Ilya" <im...@webmd.net>.
The part that I'm uncertain, how does CS interacts with guest VM and manages the key pairs?
Do I need to do something special when I create OS Template for this feature to work?
-----Original Message-----
From: prasanna [mailto:srivatsav.prasanna@gmail.com] On Behalf Of Prasanna Santhanam
Sent: Wednesday, October 10, 2012 11:14 AM
To: cloudstack-dev@incubator.apache.org
Subject: Re: Reset SSH key support to access VM
On Tue, Oct 09, 2012 at 11:19:19AM -0400, Musayev, Ilya wrote:
> I've read the reset ssh key spec, is this something proposed or
> already functional can be integrated into images?
Provision for registering/creating SSH keypairs exists already the API - check registerSSHKeypair/createSSHKeypair. These can be retrieved as meta-data by querying the gateway of the userVM.
--
Prasanna.,
Re: Reset SSH key support to access VM
Posted by Prasanna Santhanam <ts...@apache.org>.
On Tue, Oct 09, 2012 at 11:19:19AM -0400, Musayev, Ilya wrote:
> I've read the reset ssh key spec, is this something proposed or
> already functional can be integrated into images?
Provision for registering/creating SSH keypairs exists already the
API - check registerSSHKeypair/createSSHKeypair. These can be
retrieved as meta-data by querying the gateway of the userVM.
--
Prasanna.,
RE: Reset SSH key support to access VM
Posted by "Musayev, Ilya" <im...@webmd.net>.
I've read the reset ssh key spec, is this something proposed or already functional can be integrated into images?
Thanks
ilya
-----Original Message-----
From: David Nalley [mailto:david@gnsa.us]
Sent: Tuesday, October 09, 2012 11:05 AM
To: cloudstack-dev@incubator.apache.org
Subject: Re: Reset SSH key support to access VM
On Tue, Oct 9, 2012 at 2:52 AM, Harikrishna Patnala <ha...@citrix.com> wrote:
> A user VM can be associated with a SSH key pair while deploying that
> VM. A user can SSH into the VM using the SSH private Key. But there
> should be a provision to reset that SSH key pair corresponding to that
> VM, i.e., to associate a new SSH key pair to the VM. This feature aims
> to reset the SSH key corresponding to the VM. Please find the
> functional spec here at the link
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Reset+SSH+key+F
> unctional+Spec
>
> Please review and provide your feedback on this feature.
>
> Thank you,
> Harikrishna Pantala
So I know we have some software that exists for sucking in the ssh key
- and that's all well and good. I also know that cloud-init recently added CloudStack support - can we make sure that your feature works with cloud-init as well as the CloudStack-specific software?
--David
Re: Reset SSH key support to access VM
Posted by David Nalley <da...@gnsa.us>.
On Tue, Oct 9, 2012 at 2:52 AM, Harikrishna Patnala
<ha...@citrix.com> wrote:
> A user VM can be associated with a SSH key pair while deploying that VM. A user can SSH into the VM using the SSH private Key. But there should be a provision to reset that SSH key pair corresponding to that VM, i.e., to associate a new SSH key pair to the VM. This feature aims to reset the SSH key corresponding to the VM. Please find the functional spec here at the link https://cwiki.apache.org/confluence/display/CLOUDSTACK/Reset+SSH+key+Functional+Spec
>
> Please review and provide your feedback on this feature.
>
> Thank you,
> Harikrishna Pantala
So I know we have some software that exists for sucking in the ssh key
- and that's all well and good. I also know that cloud-init recently
added CloudStack support - can we make sure that your feature works
with cloud-init as well as the CloudStack-specific software?
--David