- What We Offer
- Your Processing Environment
- Legal Matters
- Pricing Plans
- Public Reporting Dashboards
How to convert Linux Openssh key to Putty format?
If you want to know how to create a SSH keypair in Linux, see this manual.
sudo apt-get install putty-tools
cd ~/.ssh/ puttygen id_rsa -o id_rsa.ppk
If we would like to convert the Putty format key to Openssh key:
- To generate the private key follow this command:
puttygen id_dsa.ppk -O private-openssh -o id_dsa
- To generate public key follow this command:
puttygen id_dsa.ppk -O public-openssh -o id_dsa.pub
Be sure that the permissions are set correctly for private and public key:
chmod 600 id_dsa chmod 666 id_dsa.pub