LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 03-11-2011, 05:46 AM   #1
Felipe
Member
 
Registered: Oct 2006
Posts: 294

Rep: Reputation: 31
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
 
Old 03-11-2011, 06:10 AM   #2
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,508

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
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.

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

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
 
  


Reply

Tags
putty


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 varun.at 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 id_rsa.pub scheme workable? glock27linux Linux - Security 1 11-15-2003 11:58 AM


All times are GMT -5. The time now is 11:17 AM.

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