RE: need help with public keys

From: Kim, Anthony (
Date: 12/23/02

  • Next message: Hong Tian: "Remote X Window"
    From: "Kim, Anthony" <>
    To: 'Thorsten Hofrichter' <>,
    Date: Mon, 23 Dec 2002 13:52:38 -0600

    You are probably giving them an OpenSSH format public key and they probably
    want the SSH2-compatible or SECSH public key format.

    OpenSSH public keys are one line keys.

    Those other key formats look like your OpenSSH private key having BEGIN and
    END blocks.

    I can't test this, but try sending this:

    ssh-keygen -e -f ~/.ssh/ > public.key

    -----Original Message-----
    From: Thorsten Hofrichter []
    Sent: Friday, December 20, 2002 6:13 AM
    Subject: need help with public keys

    I am new to this group . So hello to all , and thanks in advance for any
    help you can provide .
    I am trying to exchange public keys with another company so we can do
    transfers yet , when I send them my they say they format is
    wrong, I look at my private key and that is the kind of format they want.
    My public key just has :
    RSA nowscrambled text.

    Any ideas would be great as there is a lot of pressure to get this done.
    Thorsten Hofrichter
    The Coca-Cola Company
    Infrastructure and Support Team
    Phone: 404-676-2240

    The information transmitted may contain confidential material and is
    intended only for the person or entity to which it is addressed. Any
    review, retransmission, dissemination or other use of or taking of any
    action by persons or entities other than the intended recipient is
    prohibited. If you are not the intended recipient, please delete the
    information from your system and contact the sender.

    Relevant Pages

    • RE: OpenSSH connection Problem
      ... From OpenSSH, to SSH2 ... Note that following the public key from OSSH will be on CSSH. ... If you are not an intended recipient, ...
    • RE: Help with OpenSSH -> SSH2 Server
      ... > Well in the past I copied the clients SSH formatted public key up to the ... > server and then ran the conversion on the server. ... > openssh DSA format. ...
    • 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. ...
    • RE: Public key formatting
      ... I am almost certain that the PublicKey blob is in DER encoded format (like ... the rest of the certificate), not Base64 encoded, so you would still need to ... the public key and save it in a file so that I can send this public key in ...
    • Re: need help with public keys
      ... Is their host running sshd from OpenSSH or some other source? ... different format. ... switch ssh-keygen can convert your key to the 'SECSH Public Key File ...