Convert PuTTY Key to OpenSSH Key
Install PuTTYgen
If you don’t have putty-tools
on Linux, install it at first.
If you use puttygen
on Windows, install the PuTTYgen in the official page.
Generate Key Pair
PuTTY to SSH Key
If you use puttygen
on Linux, run the following command to convert PuTTY key to OpenSSH keys (private/public).
If you use puttygen
on Windows, follow these steps:
Open PuTTYgen.
Click on Conversions → Import key at the top menu. Then upload the PuTTY key file (
.ppk
).After uploading, click on Conversions → Export OpenSSH key.
The OpenSSH private key will be downloaded.
Last updated