Have a ppk key to login into amazon machine. But to login from linux machine it has to be converted into pem file as i read in the following links.
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/
But unable to find / install putty in 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
Really appreciated if any other method is available.
Joseph :
The enlisted steps worked on my CentOS 7 system:\n\n[Download and install EPEL Repository]\n\nsudo wget http://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-release-7-11.noarch.rpm\nsudo rpm -ivh epel-release-7-11.noarch.rpm\n\n\n[Install putty]\n\nsudo yum install putty\n",
2018-04-13T04:41:02
divakar.scm :
wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm\nsudo rpm -ivh rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm\nsudo yum --enablerepo=rpmforge install putty\nputtygen SISPKey.ppk -O private-openssh -o pemkey.pem\ncd .ssh\ncp pemkey.pem ~/.ssh/\nchmod 400 .ssh/pemkey.pem\n",
2016-06-13T12:39:30
Curious Coder :
rpmforge doesn't seem to be available currently. The enlisted steps worked on my CentOS 7 system:\n\n\nDownload and install EPEL Repository:\nsudo wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-10.noarch.rpm\nsudo rpm -ivh epel-release-7-10.noarch.rpm\nInstall putty: sudo yum install putty\n",
2017-10-11T09:19:15