I want to convert the id_rsa file to ppk file. I found there are many websites teaching "how to convert ppk to rsa in MAC" but not vice versa. Is there a way to convert rsa private key to ppk for windows to use from MAC?
Asked
Active
Viewed 1.5k times
1 Answers
9
Install PuTTY via homebrew or Mac Ports and specify the output format:
puttygen id_rsa -O private -o id_rsa.ppk
PuTTY on Windows will load the OpenSSH format key (that you have copied from macOS to Windows), but command line options will not save it non-interactively. Do so with the menu options: Conversions > Import Key; File > Save private key.

John Mahowald
- 32,050
- 2
- 19
- 34
-
Why I'm getting this answer "puttygen: cannot perform this action on a public-key-only input file"? – Gediminas Aug 16 '21 at 07:24
-
This question is about private keys, from which the public key can be derived. For public, you must provide a private key input, or a public output format. `man puttygen` – John Mahowald Aug 19 '21 at 05:38