RE: need help with public keys

From: Kim, Anthony (anthony.kim@vw.com)
Date: 12/23/02

  • Next message: Hong Tian: "Remote X Window"
    From: "Kim, Anthony" <anthony.kim@vw.com>
    To: 'Thorsten Hofrichter' <thofrichter@na.ko.com>, secureshell@securityfocus.com
    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/id_rsa.pub > public.key

    -----Original Message-----
    From: Thorsten Hofrichter [mailto:thofrichter@na.ko.com]
    Sent: Friday, December 20, 2002 6:13 AM
    To: secureshell@securityfocus.com
    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 id_rsa.pub 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
    Email: thofrichter@na.ko.com

    ***********************************************************************
    DISCLAIMER:
    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, ...
      (SSH)
    • 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. ...
      (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: 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 ...
      (microsoft.public.platformsdk.security)
    • 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 ...
      (SSH)