cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shanker Balan <>
Subject Re: Using ssh keys for authentication
Date Wed, 01 Oct 2014 11:08:57 GMT
Comments inline.

On 30-Sep-2014, at 5:14 pm, Asanka sanjaya Herath <<>>


I followed this
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
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)



M: +91 98860 60539 | O: +91 (80) 67935867<> |<>
| Twitter:@shapeblue
ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560

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

IaaS Cloud Design & Build<>
CSForge – rapid IaaS deployment framework<>
CloudStack Consulting<>
CloudStack Infrastructure Support<>
CloudStack Bootcamp Training Courses<>

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.

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