Convert PPK to PEM on MacOS

From Bonus Bits
Jump to: navigation, search

Purpose

This article gives the steps to convert a Putty PPK key into an OpenSSH PEM key using puttygen installed by Homebrew on Mac OS X Yosemite.


Prerequisites


Steps

  1. Install putty
    brew install putty
    
  2. Convert the putty key to openssh
    puttygen puttykey.ppk -O private-openssh -o privatekey.pem
    


Sources