Converting privatekey SSH2 --> OpenSSH ... 'Bad magic'


When I'm trying to convert a private key in the SSH2
format (created by F-Secure SSH) to OpenSSH, I'm
getting the following error :

bad magic 0x30820277 != 0x3f6ff9eb
decode blob failed.

Does anyone have a clue what is causing this?

Procedure I'm using (should be fine) :

* Creating passphrase-less private key on server A
with F-Secure 5.0.3
ssh-keygen2 -t rsa -b 1024 -P <file>

* Importing same key on server B with OpenSSH 4.3p2
ssh-keygen -i -f <file>

Hopefully anyone can shine some light in this darkness



Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around

Relevant Pages

  • Re: Keyrings and OPENSSH
    ... Thanks to your assistance on the Dovetail bulletin board, I was able to successfully convert a OpenSSH generated private key and import it into a keyring associated with my personal userid. ... My goal is to convert and import, every users private key into a userid specific key ring, and have that certificate used for authentication purposes to the target server. ... send email to listserv@xxxxxxxxxxxxxxx with the message: INFO IBM-MAIN ...
  • How secure is ssh?
    ... We are attempting to explain that putting the same user account (with a ... have the private key for the account -- is a bad idea. ... able to provide some "realistic" numbers on what it would take to crack ... just one openssh private key. ...
  • Can I set SSH directory different from $HOME/.ssh?
    ... which is default location for public & private key? ... currently doing is public key authentication on OpenSSH 3.4 & Red Hat ... Because I had pub. key authentication work with test account ...
  • openssh with puttygened keys problem
    ... I have a linux server with openssh. ... I added the private key to pageant ... and then connect to the openssh linux server from windows using PuTTY ... debug1: read PEM private key done: type ...
  • Converting Securecrt private key to unix
    ... We are using SecureCRT 3.0, 3.1 and 3.2 to ssh to our unix hosts, which run ... OpenSSH 2.9p2 using SSH2 with public and private key pairs. ...