cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Duffy <...@ianduffy.ie>
Subject Re: Using ssh keys for authentication
Date Fri, 26 Sep 2014 14:16:50 GMT
Hi,

Please see the init scripts available over at:
https://github.com/shankerbalan/cloudstack-scripts

Alternatively, you can use cloud-init with cloudstack as a data source:
http://shankerbalan.net/blog/cloud-init-supports-cloudstack-as-data-source/

Normally one would bake these into their template.

Once you have your template created you can bring up a new instance with an
ssh key assigned and login using it:
http://shankerbalan.net/blog/ssh-keys-on-cloudstack-guest-instances-using-cloud-init/

On 26 September 2014 07:06, Asanka sanjaya Herath <angal.sh@gmail.com>
wrote:

> ​I followed this guide in order to use ssh keys for authentication in
> cloudstack.
>
>
> https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Installation_Guide/using-sshkeys.html
>
>
> According to this document we need to create an instance and download a
> script to it  (section 5.2.1) . My problem is should I create another
> template from the instance which created in section 5.2.1?​
> Because in section 5.2.3, it says us to give the template ID in order to
> create a new instance.
>
> --
> Thanks,
> Regards,
> ASH
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message