分类: linux桌面

ubuntu 中把ppk转换成 openssh key

先装putty tool
[sh]
sudo apt-get install putty-tools
[/sh]

然后转换
[sh]
#private key
puttygen /path/to/puttykey.ppk -O private-openssh -o id_rsa
#public key
puttygen /path/to/puttykey.ppk -O public-openssh -o id_rsa.pub
[/sh]

Share