cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Asanka sanjaya Herath <angal...@gmail.com>
Subject Re: Using ssh keys for authentication
Date Tue, 30 Sep 2014 11:44:10 GMT
Hi,

I followed this
http://shankerbalan.net/blog/ssh-keys-on-cloudstack-guest-instances-using-cloud-init/
and I'm stuck in last part.

When I try to connect to my instance using this command It is asking a
passphrase.

$ ssh -l root  -i ~/ssh/adminKey/keypair.pem 192.168.56.135
Enter passphrase for key '/home/sanjaya/ssh/adminKey/keypair.pem':

Any ideas?

On Fri, Sep 26, 2014 at 8:05 PM, Asanka sanjaya Herath <angal.sh@gmail.com>
wrote:

> Hi lan Duffy,
>
> Thank you for your help. I'll try those things and let know the results.
>
> On Fri, Sep 26, 2014 at 7:46 PM, Ian Duffy <ian@ianduffy.ie> wrote:
>
>> 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
>> >
>>
>
>
>
> --
> Thanks,
> Regards,
> ASH
>



-- 
Thanks,
Regards,
ASH

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