amazon-web-services - centos7中需要putty将ppk文件转换为pem文件传输文件到amazon

标签 amazon-web-services amazon-ec2 centos putty centos7

有一个 ppk key 来登录亚马逊机器。但要从 linux 机器登录,它必须转换为 pem 文件,正如我在以下链接中阅读的那样。

http://sarathlal.com/convert-ppk-file-to-pem-file-connect-to-remote-server-via-ssh-linux/

http://webkul.com/blog/convert-a-ppk-file-to-a-pem-file/

但是在centos7中找不到/安装腻子。

[dkanagaraj@localhost ~]$ sudo yum install puttygen
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centosv.centos.org
 * extras: centosk3.centos.org
 * updates: centosv.centos.org
No package puttygen available.
Error: Nothing to do

[dkanagaraj@localhost ~]$ sudo yum install putty
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centosv.centos.org
 * extras: centosk3.centos.org
 * updates: centosv.centos.org
No package putty available.
Error: Nothing to do

[dkanagaraj@localhost ~]$ sudo yum install putty-tools
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centosv.centos.org
 * extras: centosk3.centos.org
 * updates: centosv.centos.org
No package putty-tools available.
Error: Nothing to do

[dkanagaraj@localhost ~]$ sudo yum whatprovides putty
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centosv.centos.org
 * extras: centosk3.centos.org
 * updates: centosv.centos.org
No matches found

[dkanagaraj@localhost ~]$ sudo yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centosv.centos.org
 * epel: mirror.pregi.net
 * extras: centosk3.centos.org
 * updates: centosv.centos.org
repo id                                                                              repo name                                                                                                           status
base/7/x86_64                                                                        CentOS-7 - Base                                                                                                      9,007
epel/x86_64                                                                          Extra Packages for Enterprise Linux 7 - x86_64                                                                      10,122
extras/7/x86_64                                                                      CentOS-7 - Extras                                                                                                      310
updates/7/x86_64                                                                     CentOS-7 - Updates                                                                                                   1,687
repolist: 21,126

如果有其他方法可用,我真的很感激。

最佳答案

入伍的步骤适用于我的 CentOS 7 系统:

[下载并安装 EPEL 存储库]

sudo wget http://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-release-7-11.noarch.rpm
sudo rpm -ivh epel-release-7-11.noarch.rpm

[安装腻子]
sudo yum install putty

关于amazon-web-services - centos7中需要putty将ppk文件转换为pem文件传输文件到amazon,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37747993/

相关文章:

bash - centos 7中使用pid的内存限制预处理

故障转移场景中的 DNS 循环请求非常慢

batch-file - 在批处理脚本中使用 AWS Elastic Beanstalk 自定义变量

ssl - 使用新加坡 IP 时无法通过 AWS 新加坡的 8443 端口访问 tomcat

php - 哪个PHP文件占用了服务器上的mysql资源?

java - CentOS 上的多个 Java 版本

amazon-web-services - 使用 Dockerrun.aws.json 和 Elastic Beanstalk 命名 Docker 容器

amazon-web-services - 启动和立即终止 Amazon EC2 实例的费用是多少?

ubuntu - 使用cp在docker中复制多个文件

python - 使用 Python 从 qcow2 图像文件创建自定义 EC2 AMI