LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to convert putty.ppk to id_rsa in Linux? (https://www.linuxquestions.org/questions/linux-software-2/how-to-convert-putty-ppk-to-id_rsa-in-linux-867898/)

Felipe 03-11-2011 05:46 AM

How to convert putty.ppk to id_rsa in Linux?
 
Hallo:

I use putty for connecting from Windows to Linux.

I create id_rsa/id_rsa.pub in Linux and I've to convert them to putty.ppk to use them for connection from Windows.

But I've to open puttygen.exe to convert them.

Is there a way to do that process without user interact? Just generate id_rsa/id_rsa.pub and also .ppk for putty in Linux? (Or the possibility to convert them in windows without user interact).

Tried to download putty for Linux, but unable to compile it. And not found .rpm for CentOS 5.5, RedHat 5.5 nor OpenSuse 11.3.

Thanks

colucix 03-11-2011 06:10 AM

The package for CentOS 5.5 is provided by the RPMForge repository. The tool puttygen comes along with other tools from the package. I cannot find it for OpenSuSE 11.3, but if you need help for compilation feel free to ask.

Trying to compile on OpenSuSE you might have problems with missing GTK libraries. However you can still compile the command line tools (like puttygen) that don't require graphic libraries. This should be as simple as:
Code:

# tar xf putty-0.60.tar.gz
# cd putty-0.60
# cd unix
# ./configure
# make
# make install

Hope this helps.

Felipe 03-14-2011 06:08 AM

SOLVED: How to convert putty.ppk to id_rsa in Linux?
 
Thanks, it has worked:

puttygen id_rsa -O private -o id_rsa.ppk


All times are GMT -5. The time now is 01:19 AM.