Created
February 9, 2017 12:31
-
-
Save dibmartins/aa15618a02cbfcb74d866bddc82bb5f0 to your computer and use it in GitHub Desktop.
convert-putty-ppk-to-pub
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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