有一个ppk密钥登录到亚马逊机器。但要从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
如果有其他方法可用,真的很感激。
4条答案
按热度按时间vwhgwdsa1#
登记步骤在我的CentOS 7系统上工作:
[下载并安装EPEL存储库]
[安装油灰]
y3bcpkx12#
rt4zxlrg3#
***rpmforge***目前似乎不可用。登记的步骤在我的CentOS 7系统上工作:
1.**下载并安装EPEL储存库:**sudo wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-10.noarch.rpm sudo rpm -ivh epel-release-7-10.noarch.rpm
1.**安装油灰:**须道百胜安装油灰
zi8p0yeb4#
如果您使用的是Amazon Linux 2,则可以从amazon-linux-extras安装EPEL
sudo yum install putty
然后只需使用
sudo yum install putty
个