Comments inline.

On 30-Sep-2014, at 5:14 pm, Asanka sanjaya Herath 
<angal...@gmail.com<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 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?

It looks to me that you have created your SSH keypair with “passphrases” using 
the ssh-keygen tool. IMHO,
this is the right way to “Secure” your keys.

You have 2 choices:

1) Create key pairs with empty passphrases (insecure)

2) Use “ssh-add” tool to add private key identities to the authentication agent 
(secure)


Regards.
@shankerbalan


--
@shankerbalan

M: +91 98860 60539 | O: +91 (80) 67935867
shanker.ba...@shapeblue.com<mailto:shanker.ba...@shapeblue.com> | 
www.shapeblue.com<http://www.shapeblue.com> | Twitter:@shapeblue
ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, 
Bangalore - 560 055

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.

Reply via email to