Skip to content

Instantly share code, notes, and snippets.

@dibmartins
Created February 9, 2017 12:31
Show Gist options
  • Save dibmartins/aa15618a02cbfcb74d866bddc82bb5f0 to your computer and use it in GitHub Desktop.
Save dibmartins/aa15618a02cbfcb74d866bddc82bb5f0 to your computer and use it in GitHub Desktop.
convert-putty-ppk-to-pub
sudo apt-get install putty-tools
puttygen id_dsa.ppk -O private-openssh -o id_dsa
puttygen id_dsa.ppk -O public-openssh -o id_dsa.pub
mkdir -p ~/.ssh
mv -i ~/id_dsa* ~/.ssh
chmod 600 ~/.ssh/id_dsa
chmod 666 ~/.ssh/id_dsa.pub
chmod 666 ~/.ssh/known_hosts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment