id_rsa轉為 .ppk
1.下載puttygen
大家可以去http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html這個地址單獨下載puttygen
2.轉換成ppk格式
運行puttygen.exe-點擊Conversions菜單項中的Import key,選擇在linux下生成的id_rsa文件,成下面的圖
然后點擊Save private Key按鈕就可以轉換成ppk格式,如圖.
好了大家可以看到已經把原來rsa格式的私鑰轉換成ppk的了
.ppk 轉為 .pem
ppk -> pem
PuTTY format private key file (.ppk) to OpenSSH (.pem)
pem key其實就是openssh的key
- Download PuttyGen
- Click on Load
- Browse to your .ppk file
- Enter the password
- Click on Conversions at the top of the screen
- Export OpenSSH Key