Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a PuTTY .ppk key. How do I use it with ssh/OpenSSH on Linux?

share|improve this question
up vote 9 down vote accepted

Use PuTTYgen to convert it to the apropriate format.

  • If you need the private key, use PuTTYgen's Conversions → Export OpenSSH key menu item on Windows, or run the following command on Linux:

    puttygen MyKey.ppk -O private-openssh -o MyKey.key
    
  • If you only need the public half, copy&paste it from PuTTYgen's "Public key for pasting" box. On Linux, use a similar command as above, only replacing private-openssh with public-openssh.

    Screenshot

(On Linux, PuTTYgen is usually available in the package putty or putty-tools.)

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .