Re: Using ssh keys for authentication

2014-10-11 Thread Asanka sanjaya Herath
Hi shanker, I didn't use any key-gen tool, I just created a file called key-pair.pem and pasted the key into it. Is that wrong? Should I use a key-gen tool to generate keys? On Wed, Oct 1, 2014 at 4:38 PM, Shanker Balan wrote: > Comments inline. > > On 30-Sep-2014, at 5:14 pm, Asanka sanjaya H

Re: Using ssh keys for authentication

2014-10-01 Thread Shanker Balan
Comments inline. On 30-Sep-2014, at 5:14 pm, Asanka sanjaya Herath mailto:angal...@gmail.com>> wrote: 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

Re: Using ssh keys for authentication

2014-09-30 Thread Asanka sanjaya Herath
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 fo

Re: Using ssh keys for authentication

2014-09-26 Thread Asanka sanjaya Herath
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 wrote: > Hi, > > Please see the init scripts available over at: > https://github.com/shankerbalan/cloudstack-scripts > > Alternatively, you can use cloud-init with c

Re: Using ssh keys for authentication

2014-09-26 Thread Ian Duffy
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 templ

Using ssh keys for authentication

2014-09-25 Thread Asanka sanjaya Herath
​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