ubuntu 如何转换 ppk ,连接 amazon ec2
2013-03-06 11:53
176 查看
转 自 :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
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
相关文章推荐
- MySQL Workbench 如何连接 Amazon EC2 上的MySQL服务器?
- Windows下如何用SecureCRT连接Amazon EC2
- Windows下如何用putty连接Amazon EC2实例图文教程!
- Windows下如何用putty连接Amazon EC2
- MySQL Workbench 如何连接 Amazon EC2 上的MySQL服务器?
- Aamazon Web Service EC2 Ubuntu 新建用户而且用ssh连接host
- Aamazon Web Service EC2 Ubuntu 新建用户并且用ssh连接host
- 如何用putty.exe远程连接ubuntu系统
- 如何在本地 windows mysql 的 workbench 远程连接腾讯云 ubuntu 主机的 mysql 数据库
- SublimeText SFTP连接Amazon EC2
- Ubuntu下Android如何将手机通过USB连接PC开发测试
- 如何通过ssh来连接虚拟机(vmware)中的ubuntu
- 23、如何使用SecureCRT连接ubuntu
- 如何使SecureCRT连接ubuntu用
- 如何在 Ubuntu 上转换图像、音频和视频格式
- 如何为虚拟机中的Ubuntu17安装SSH服务以及与XShell建立连接
- 如何配置Xshell连接Ubuntu
- mac系统安装虚拟机ubuntu14后,如何在mac终端连接ubuntu?
- ubuntu 下 pem 转换成 ppk