ubuntu 如何转换 ppk ,连接 amazon ec2
- 轉 自 :http://www.ehow.com/how_8658327_convert-ppk-ssh-ubuntu.html
- 1
Open a terminal window in Ubuntu, or log in if you are converting the keys on a remote Ubuntu server.
- 2
Type "sudo apt-get install putty-tools" at the terminal prompt to install the PuTTY tools. Enter your password when requested by sudo, to run apt-get with the root permissions needed for installation.
- 3
Convert the public key by typing the following at the terminal prompt:
puttygen keyfile.ppk -o id_rsa.pub -O public-openssh
Where "keyfile.ppk" is the PuTTY .ppk file to convert, and "id_rsa.pub" is the name of the converted key file.
- 4
Convert the private key by typing:
puttygen keyfile.ppk -o id_rsa -O private-openssh
Where "keyfile.ppk" is the key file to convert, and "id_rsa" is the private key file. PuTTY stores both the private and public keys in the .ppk file, which is why you use the same file to convert both keys. You can now use both keys with OpenSSH.
Read more:?How to Convert PPK to SSH in Ubuntu | eHow.com?http://www.ehow.com/how_8658327_convert-ppk-ssh-ubuntu.html#ixzz2MjDOBRsb
轉載于:https://www.cnblogs.com/yeelone/archive/2013/03/06/2945781.html
創作挑戰賽新人創作獎勵來咯,堅持創作打卡瓜分現金大獎總結
以上是生活随笔為你收集整理的ubuntu 如何转换 ppk ,连接 amazon ec2的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: WCF 第八章 安全 客户端认证
- 下一篇: c语言程序设计职工信息管理系统,C语言程