Re: PEM_read_PrivateKey failed - many posts, but few answers.




Sure looks like it. OpenSSH doesn't understand PuTTY's key file format
so you will need to convert it (see ssh-keygen, but you will need to
convert the key to IETF format first) or better yet, just generate
a new key on the HP box (since you posted parts of the key) and put
the public key portion of the new key onto your server.



I know that I can convert IETF to OpenSSH with the following.

ssh-keygen -i -f ietf-pubkey.pub >openssh-pubkey.pub

Anyone know how I can get the Putty Key into the IETF format?

Else Im just going to create a pair of keys here on our system and try
sending the vendor the pub key.

Thanks again.
Richard
.



Relevant Pages

  • RE: Using public key pair to authenticate
    ... Part of it has to do with the way that OpenSSH and SSH.com internally handle their keys. ... The default for OpenSSH is that the key is stored in authorized_keys in the .ssh directory with the following format: ... while ssh.com has a file in the .ssh2 directory called authorization that contains the following type of info: ... > When I try connecting to the remote server, I am asked to type in the ...
    (SSH)
  • Re: F-Secure client talking to OpenSSH server
    ... You need to reformat the public key from SECSH format to the OpenSSH format. ... print the key in a `SECSH Public Key File Format' to stdout. ...
    (SSH)
  • Re: OpenSSH for Windows und Putty
    ... und alles in einer Zeile) dann speichert die aktuelle Version des PuttyGen für Windows das nicht richtig ab. ... OpenSSH authorized_keys file:" zeigt es korrekt an. ... Das Format ist richtig, daran liegt es bei mir nicht. ... Ich werde mal versuchen den Server nicht als Dienst zu starten - so wie Alexander sagte. ...
    (de.comp.security.misc)
  • Re: OpenSSH for Windows und Putty
    ... Wenn das Format wirklich so ist wie in beschrieben, ... Der so gespeicherte Public Key ist allerdings FÜR OPENSSH ... mit dem kann nur PuTTy (und somit auch der PuTTY ... Alexander Skwar ...
    (de.comp.security.misc)
  • OpenSSH, privilage separation
    ... Apparently the new OpenSSH 3.3 (released yesterday) has privilage ... I never really learned the format of /etc/passwd properly, ...
    (comp.os.linux.security)