Skip to content

Instantly share code, notes, and snippets.

@innocuo
Created March 16, 2017 15:17
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save innocuo/bc597d91ba9aa6c9b2806495496de225 to your computer and use it in GitHub Desktop.
Save innocuo/bc597d91ba9aa6c9b2806495496de225 to your computer and use it in GitHub Desktop.
Convert PuTTY .ppk key to OpenSSH in Ubuntu
sudo apt-get install putty-tools
#private keys
puttygen your_private_key.ppk -O private-openssh -o your_new_key
chmod 600 your_new_key
#public keys
puttygen your_public_key.ppk -O public-openssh
#based on answer at superuser
#https://superuser.com/questions/232362/how-to-convert-ppk-key-to-openssh-key-under-linux
@Alexander72
Copy link

Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment