Skip to content

Instantly share code, notes, and snippets.

@magnetikonline
Created May 16, 2014 07:23
Show Gist options
  • Save magnetikonline/23a8ef1a3865a86c28c6 to your computer and use it in GitHub Desktop.
Save magnetikonline/23a8ef1a3865a86c28c6 to your computer and use it in GitHub Desktop.
Create id_rsa public/private keys from supplied PPK formatted key file.

Create id_rsa public/private keys from supplied PPK formatted key file

Instructions for Ubuntu 14.04LTS (and more than likely others). Where keyfile.ppk is the PPK file you have in hand.

$ sudo apt-get install putty-tools
# create public key as [id_rsa.pub]
$ puttygen keyfile.ppk -o id_rsa.pub -O public-openssh
# create private key as [id_rsa]
$ puttygen keyfile.ppk -o id_rsa -O private-openssh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment