Filezilla/Puttygen doesn't recognize private key file

Posted by devzoner on Server Fault See other posts from Server Fault or by devzoner
Published on 2014-01-04T03:37:48Z Indexed on 2014/06/07 3:32 UTC
Read the original article Hit count: 558

Filed under:
|
|
|
|

I have generated a key for an Ubuntu Virtual Machine running on Azure Cloud Services http://www.windowsazure.com/en-us/manage/linux/how-to-guides/ssh-into-linux/

openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout myPrivateKey.key -out   myCert.pem

When loading the private key into Filezilla, it asks me to convert the format, however, when converting the key it fails, the same happens with puttygen from linux console, using this:

puttygen myPrivateKey.key -o myKey.ppk

In both cases I have the following error:

puttygen: error loading `myPrivateKey.key': unrecognised key type

By the way, this key doesn't have a passphrase.

I found an old thread about it, but I'm using 0.6.3 version which is newer than what this thread recommends:

http://fixunix.com/ssh/541874-puttygen-unable-import-openssh-key.html

I've managed to solve this issue by using another gui client Fugu for Mac, but one of my co-worker uses windows and I still have to figure this out.

Since Filezilla is the de-facto ftp client, I thought it would be easier to solve it there.

Thanks

© Server Fault or respective owner

Related posts about ubuntu

Related posts about ssh