问题:
默认在Linux下产生的私钥文件ssh-rsa格式,ssh远程连接工具putty是不识别的,putty只能识别自己的ppk格式。
需求:
把ssh-rsa格式的私钥文件转换为putty能识别的ppk格式。
具体步骤:
一、下载转换工具PuTTYgen
https://the.earth.li/~sgtatham/putty/latest/x86/puttygen.exe
二、开始转换
1、运行puttygen
2、点击Conversions菜单项中的Import key,选择在Linux下生成的id_rsa文件
3、在puttygen的界面上点击Save private key按钮就可以把私钥转换为ppk的格式了
至此,Linux的私钥文件id_rsa转换成putty的ppk格式完成。

» 转载请注明来源:系统运维 » 把Linux的私钥文件id_rsa转换成putty的ppk格式


