Search code examples
windowsmacossshterminalputty

How to use a Mac ssh key in Putty (Windows)?


I have generated a ssh key in the terminal of my Mac. How can I use this private key in Putty on my Windows pc? I don't want to generate a new ssh key for each computer.


Solution

  • To convert an id_rsa file to an id_rsa.ppk, you can use puttygen from putty's web site.

    • Choose File->Load Private Key
    • Enter the private key password if applicable
    • Press the button Save private key.

    The converted key would be saved as "id_rsa.ppk".