从PPK文件创建PEM [英] Create a PEM from a PPK file
本文介绍了从PPK文件创建PEM的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
因此,有很多关于如何使用puttyGen将PEM转换为PPK的教程.但是我的问题是我的Windows机器只有唯一的PEM副本,所以我将其转换为PPK并删除了它.现在,我需要弄清楚如何将PPK转换为PEM,以便我的Mac可以通过SSH进入服务器.我仍然可以访问服务器,因此,如果需要的话,我也可以仅创建一个新密钥,有人知道如何将PPK转换为PEM吗?
So there are plenty of tutorials on how to convert a PEM to a PPK using puttyGen. However my issue is that my windows machine had the only PEM copy and I converted it into a PPK and deleted it. Now I need to figure out how to convert a PPK into a PEM so that my mac can ssh into the server. I still have access to the server so I could also just make a new key if I had to, anyone know how to convert PPK to PEM?
推荐答案
-
安装 PuttyTools
apt-get install putty-tools
从ppk
puttygen server.ppk -O private-openssh -o server.pem
文件 server.pem 文件将保存在同一位置
The file server.pem file will be saved on same location
这篇关于从PPK文件创建PEM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文