Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-11-2011, 05:46 AM   #1
Registered: Oct 2006
Posts: 295

Rep: Reputation: 31
How to convert putty.ppk to id_rsa in Linux?


I use putty for connecting from Windows to Linux.

I create id_rsa/ 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/ 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.

Old 03-11-2011, 06:10 AM   #2
LQ Guru
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
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:
# tar xf putty-0.60.tar.gz
# cd putty-0.60
# cd unix
# ./configure
# make
# make install
Hope this helps.

Last edited by colucix; 03-11-2011 at 06:24 AM. Reason: Additional info
Old 03-14-2011, 06:08 AM   #3
Registered: Oct 2006
Posts: 295

Original Poster
Rep: Reputation: 31
SOLVED: How to convert putty.ppk to id_rsa in Linux?

Thanks, it has worked:

puttygen id_rsa -O private -o id_rsa.ppk



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
debug1: Trying private key: /root/.ssh/id_rsa Linux - Newbie 10 10-21-2010 11:55 PM
How to add a putty generated .ppk key ZAMO Linux - General 2 07-10-2008 07:49 PM
LXer: Book Review: PPK on JavaScript LXer Syndicated Linux News 0 11-28-2006 09:54 AM
PuTTY SSH and PPK Keys colabus Linux - Newbie 1 07-13-2004 10:17 PM
SSH: multiple id_rsa and scheme workable? glock27linux Linux - Security 1 11-15-2003 11:58 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration