Golden Codes - armanexplorer planet

Practical code snippets for Django, Python, Bash, Git and All!

View on GitHub

Docs

convert PuTTY .ppk keys to OpenSSH format

Link

puttygen id_rsa.ppk -O private-openssh -o id_rsa
puttygen id_rsa.ppk -O public-openssh -o id_rsa.pub


mv -i ~/id_rsa* ~/.ssh/ # -i is being used to make sure not overwrite
chmod 400 ~/.ssh/id_rsa
chmod 644 ~/.ssh/id_rsa.pub