- 首先安装: puttygen
ubuntu :
apt install putty-tools
- 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
ubuntu :
apt install putty-tools
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