linux 下转化 ppk 文件 为openssh 文件(private,public)
1. 首先安装: puttygen
ubuntu :
apt install putty-tools
2. ppk 文件转化 openssh key
private key :
puttygen /path/to/puttykey.ppk -O private-openssh -o ~/.ssh/id_rsa
public key:
puttygen /path/to/puttykey.ppk -O public-openssh -o ~/.ssh/id_rsa.pub