Mo,

I just tested one of my amazon keys with PuTTYgen and the default settings and 
it worked.  Can you verify the contents of the .pem file you're using for me?  
On windows I'd open it in http://notepad-plus-plus.org/ or a similar utility to 
see it correctly.  

The file should look something like this, with both start and end lines.

-----BEGIN RSA PRIVATE KEY-----
<about 20 lines of random characters>
-----END RSA PRIVATE KEY-----

And, lastly, the amazon documentation at 
http://docs.amazonwebservices.com/AmazonEC2/gsg/2006-06-26/ says to make sure 
the file ends with a newline character or it won't work with PuTTYgen, so 
that's something to look for.

-Dannon

On Apr 18, 2012, at 3:29 PM, Mohammad Heydarian wrote:

> Hello,
> I am trying to connect an EC2 instance to an EBS volume. 
> 
> I have attached the EBS volume to the EC2 instance (running Galaxy). I now 
> need to mount the EBS volume to the EC2 instance. To do this I will use Putty 
> to make the connection. But first I have to convert the private key from 
> ".pem" format to ".ppk" format. I am trying to use Puttygen for the 
> conversion, but the ".pem" file is not recognized and I get this error 
> message:
> 
> Could't load private key (key file does not begin with OpenSSH key header)
> 
> Does anyone have experience with this?
> 
> BTW, I am using windows.
> 
> Thanks! 
> Cheers, 
> Mo Heydarian
> 
> ___________________________________________________________
> Please keep all replies on the list by using "reply all"
> in your mail client.  To manage your subscriptions to this
> and other Galaxy lists, please use the interface at:
> 
>  http://lists.bx.psu.edu/

___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

  http://lists.bx.psu.edu/

Reply via email to