Re: How can Putty load my public key generated with OpenSSH

From: Albain DE SAINT MARTIN (adsm_at_SDF.LONESTAR.ORG)
Date: 10/21/03

  • Next message: John Yard: "OpenSSH to SSH CSC SSH2 failure : step2"
    Date: Tue, 21 Oct 2003 20:38:09 +0000
    To: Ralph <rgreen@preferredstaff.net>
    
    

    Hi,

    I have had the same problem, and I haven't found any solution using only
    PuTTY. However, you should be able to create a valid key using an OpenSSH
    port, import this key using PuTTYgen and then use the imported key.
    The following procedure outlines the necessary steps.

    Install Cygwin on your computer running windows.
    (from http://www.cygwin.com, and do not forget to install the OpenSSH
    package)
    Using Cygwin, generate a new key pair on this computer.
    Upload your public key on your linux box, copy/append it to the ad
    hoc file and check the permissions on this file.
    On your computer running windows, use PuTTYgen to format your private key
    into something PuTTY can use : launch PuTTYgen, open your key pair,
    provide the necessary passphrase, click on the 'Save private key' button.
    Use the resulting *.PPK file as your private key.

    Regards.

    ADSM

    On Mon, 20 Oct 2003, Ralph wrote:

    > Date: 20 Oct 2003 12:45:06 -0700
    > From: Ralph <rgreen@preferredstaff.net>
    > Newsgroups: comp.security.ssh
    > Subject: How can Putty load my public key generated with OpenSSH
    >
    > Howdy,
    > I have the OpenSSH daemon running on a Linux box. I have Putty on a
    > Windows machine. I want them to talk securely. I can't figure out
    > how to make Putty use the public keys I generated with OpenSSH and
    > copied over from the Linux box. I see an option to convert a private
    > key file. I don't know why you would want to convert a private key,
    > but lots of people must need to convert a public key. I tried the
    > option to load a private key. In Putty, it just beeps. In Puttygen,
    > it says it is not a valid private key file. No kidding, it is a
    > public key file. There must be a way to do this or Putty would be
    > pretty useless for SSH. Could someone point me in the right
    > direction? (Please don't just say read the manual. I did that and it
    > did not help)
    > I have tried the latest stable Putty and the Development version(Oct
    > 10, 2003). I have been reading this newsgroup and googling for an
    > answer for a couple of days.
    > Thanks,
    > Ralph
    >

     --------------------------------------------------------------------
    | Albain de Saint Martin |
    |--------------------------------------------------------------------|
    | The way to win an atomic war is to make certain it never starts. |
    | Omar Bradley |
     --------------------------------------------------------------------


  • Next message: John Yard: "OpenSSH to SSH CSC SSH2 failure : step2"