Discussion:
[JSch-users] How to convert SSHTOOL private key to OpenSSH format
Ike Ikonne
2011-02-14 17:26:18 UTC
Permalink
Hi all,

We have just recently migrated from SSHTOOL to jsch toolkit; one problem
that we are running into
is how to still let our customers/users make use of private keys generated
using the SSHTOOL.
Jsch can't handle these keys generated via SSSHTOOL. I am trying to find
out if there is any solution
that we can deploy to help make jsch able to handle these keys generated
using SSHTOOL. Any suggestions
will be highly appreciated.

Thanks,

Ike
Viet H. Phan
2011-02-15 03:40:25 UTC
Permalink
Hi,
You can use PuTTYgen tool to do that.Download the tool from here: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
Regards,Viet

--- On Tue, 2/15/11, Ike Ikonne <***@us.ibm.com> wrote:

From: Ike Ikonne <***@us.ibm.com>
Subject: [JSch-users] How to convert SSHTOOL private key to OpenSSH format
To: jsch-***@lists.sourceforge.net
Date: Tuesday, February 15, 2011, 12:26 AM

Hi all,



We have just recently migrated from
SSHTOOL to jsch toolkit; one problem that we are running into

is how to still let our customers/users
make use of private keys generated using the SSHTOOL.

Jsch can't handle these keys generated
via SSSHTOOL.  I am trying to find out if there is any solution

that we can deploy to help make jsch
able to handle these keys generated using SSHTOOL.  Any suggestions

will be highly appreciated.



Thanks,



Ike


-----Inline Attachment Follows-----

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
-----Inline Attachment Follows-----

_______________________________________________
JSch-users mailing list
JSch-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users




____________________________________________________________________________________
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367
Ike Ikonne
2011-02-15 03:57:44 UTC
Permalink
Hi Thanks for your prompt response, but puttygen doesn't work, I tried it.
Again
I am trying to convert private kyes generated via SSHTOOL to OpenSSH
format.

Thanks,

Ike



From: "Viet H. Phan" <***@yahoo.com>
To: jsch-***@lists.sourceforge.net, Ike Ikonne/Dallas/***@IBMUS
Date: 02/14/2011 09:46 PM
Subject: Re: [JSch-users] How to convert SSHTOOL private key to
OpenSSH format




Hi,

You can use PuTTYgen tool to do that.
Download the tool from here:
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

Regards,
Viet


--- On Tue, 2/15/11, Ike Ikonne <***@us.ibm.com> wrote:

From: Ike Ikonne <***@us.ibm.com>
Subject: [JSch-users] How to convert SSHTOOL private key to OpenSSH format
To: jsch-***@lists.sourceforge.net
Date: Tuesday, February 15, 2011, 12:26 AM

Hi all,

We have just recently migrated from SSHTOOL to jsch toolkit; one problem
that we are running into
is how to still let our customers/users make use of private keys generated
using the SSHTOOL.
Jsch can't handle these keys generated via SSSHTOOL. I am trying to find
out if there is any solution
that we can deploy to help make jsch able to handle these keys generated
using SSHTOOL. Any suggestions
will be highly appreciated.

Thanks,

Ike

-----Inline Attachment Follows-----

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb

-----Inline Attachment Follows-----

_______________________________________________
JSch-users mailing list
JSch-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users

We won't tell. Get more on shows you hate to love
(and love to hate): Yahoo! TV's Guilty Pleasures list.
Viet H. Phan
2011-02-15 04:06:44 UTC
Permalink
Hi,
Do you want manual or automatic conversion? If manual conversion is acceptable to you, you just import the ssh.com private keys to PuTTYgen, then export it to OpenSSH format.Hope I understand your requirements correctly :-).
Regards,Viet
--- On Tue, 2/15/11, Ike Ikonne <***@us.ibm.com> wrote:

From: Ike Ikonne <***@us.ibm.com>
Subject: Re: [JSch-users] How to convert SSHTOOL private key to OpenSSH format
To: "Viet H. Phan" <***@yahoo.com>
Cc: jsch-***@lists.sourceforge.net
Date: Tuesday, February 15, 2011, 10:57 AM

Hi Thanks for your prompt response, but
puttygen doesn't work, I tried it.  Again

I am trying to convert private kyes
generated via SSHTOOL to OpenSSH format.



Thanks,



Ike







From:      
 "Viet H. Phan"
<***@yahoo.com>

To:      
 jsch-***@lists.sourceforge.net,
Ike Ikonne/Dallas/***@IBMUS

Date:      
 02/14/2011 09:46 PM

Subject:    
   Re: [JSch-users]
How to convert SSHTOOL private key to OpenSSH format











Hi,



You can use PuTTYgen
tool to do that.

Download the tool from here: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html



Regards,

Viet





--- On Tue, 2/15/11, Ike Ikonne <***@us.ibm.com>
wrote:



From: Ike Ikonne <***@us.ibm.com>

Subject: [JSch-users] How to convert SSHTOOL private key to OpenSSH format

To: jsch-***@lists.sourceforge.net

Date: Tuesday, February 15, 2011, 12:26 AM



Hi all,



We have just recently migrated from SSHTOOL to jsch toolkit; one problem
that we are running into

is how to still let our customers/users make use of private keys generated
using the SSHTOOL.

Jsch can't handle these keys generated via SSSHTOOL.  I am trying
to find out if there is any solution

that we can deploy to help make jsch able to handle these keys generated
using SSHTOOL.  Any suggestions

will be highly appreciated.



Thanks,



Ike



-----Inline Attachment Follows-----



------------------------------------------------------------------------------

The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:

Pinpoint memory and threading errors before they happen.

Find and fix more than 250 security defects in the development cycle.

Locate bottlenecks in serial and parallel code that limit performance.

http://p.sf.net/sfu/intel-dev2devfeb



-----Inline Attachment Follows-----



_______________________________________________

JSch-users mailing list

JSch-***@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/jsch-users




We won't tell. Get more on shows
you hate to love

(and love to hate): Yahoo!
TV's Guilty Pleasures list.





____________________________________________________________________________________
Looking for earth-friendly autos?
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/
Ike Ikonne
2011-02-15 16:51:43 UTC
Permalink
Hi Viet,

Thanks so much in your response; okay, here is the deal, I have a private
key in the following format

--- BEGIN SSHTOOLS ENCRYPTED PRIVATE KEY ----
Comment: 1024-bit dsa
Subject: xxxx
AAAACDNERVMtQ0JDGKeSLe6w6YcAAAFQkSiSE3yNQCGHBRJ8FFURPW6VsFil6s5TcPilj8PzZeeq

tHvTFVIQNz+JTwZc5Hg5j5DJadrApHgq4FfU+iMDG0oWQmVIFKKYQFNrPBPo/LRgYyZNvqGCTjuW

yq3BtBmYwV0+xlJ26lh00cUkwnjO2R+1aerm7rHBTD6RQzrnY1juv0OwTtHxTCSIyUQVYFQ7CUnB

KZGliSClsx6sAs6pgvqbvV16Wx2KHXfT8CED/qyY2Zey3hns6xvG/FnaLtZsombRv3VeZsiZCRqu

KfACsG8Slvx9gEnmNo1szkh2yhFBMgwLa7h/ZE6LcInbKGXzZ6CgI5mR0sN+5caQoAu4+5I6t9H3

q8qcs5Ymlo5FTA2aMof3K67m+l1sfv0ajVt8W5RI1MZflP0WOHh0Hj3keiFMZ4y34bayoMHgIBsh

NW1P7BVoZnghDJOPsAKjBIkQ
---- END SSHTOOLS ENCRYPTED PRIVATE KEY ----


We are looking for a solution to convert it to the OpenSSH format below;
when we try to import the above using
puttygen, we get an error which states that the above is not a valid
private key. So, we want the above to be converted
to the format below. Does anyone have an idea on how to go about doing
it?


-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: DES-EDE3-CBC,F1B37BF733792B7B

r+MyRcscd21Rn7zUfUV1g8tYgc02ep+svhG3zli4hIcXAyV0dtZ8xk83PaUh5GI+
Ym18eZmlKzQJQMD6FqOgqIuu1BDhjyupO6+vrVZGyYiZWiwIaPVFlR+wEoOPdjXP
dWahB71/0MU7ESBlK1j6p5lzST7R4ziJBKJ/kbpr/qko1k1MBDWsXVhzlufzuLcV
IqBESaOPhNeyY0D4nVEAzNX3nhbwFMy+4mX7Q3GxofULpmbAeNrk1lWSjKSY5Fd4
zpT6cyzceQN0KZUP7TwPbqI4MyjM2MnJ+VHu4U4gZi6UmdJ8ghawrEhdmyGuW7Ei
Oh5o1cD0FMPVhrPJKrmFlLhQZVtcqmqCw7POTj1pHlWzt1WWH4kEWNI9M0BBtHqe
DZ8YDcNc8deDECxoZQKWL8yJoKttreain1Se0azpgWOOQzBK2nxC0rOV0cJjEsxt
kiOQD2RrxKJJCi698SBpD2DG0APIZni9GzTh2A0rOJL++DYsUv/2bjkJOeUu/25E
u5mHE493VJMTOKCMPC9BMUzq1tEQ6GaR6xtOdQYr/yq+ZP747ZmaR5Qdu/r+tmBh
AHyEZLwIEwSgny9hZYkXHMXIleqfcumazQq+cs7F/d7UF6hN9usy/1zY3pO42q1k
0QQJoWlE73qAYyvdsYWCdzy3VXD9aQQDLSayLOmRgyO46DIPl3FGa0Kcjd6+oBGr
HqYmtvgOE4qOSaS3BIvNzlf+TblKZSRRteaTMHoYTjKhpSCPzkjellGMemRsEnrZ
MGOL6tmAgZYzviwo5wHSlnlzNn7TQ8DGjnV6RReCZsQ=
-----END RSA PRIVATE KEY-----





From: "Viet H. Phan" <***@yahoo.com>
To: Ike Ikonne/Dallas/***@IBMUS
Cc: jsch-***@lists.sourceforge.net
Date: 02/14/2011 10:06 PM
Subject: Re: [JSch-users] How to convert SSHTOOL private key to
OpenSSH format




Hi,

Do you want manual or automatic conversion? If manual conversion is
acceptable to you, you just import the ssh.com private keys to PuTTYgen,
then export it to OpenSSH format.
Hope I understand your requirements correctly :-).

Regards,
Viet

--- On Tue, 2/15/11, Ike Ikonne <***@us.ibm.com> wrote:

From: Ike Ikonne <***@us.ibm.com>
Subject: Re: [JSch-users] How to convert SSHTOOL private key to OpenSSH
format
To: "Viet H. Phan" <***@yahoo.com>
Cc: jsch-***@lists.sourceforge.net
Date: Tuesday, February 15, 2011, 10:57 AM

Hi Thanks for your prompt response, but puttygen doesn't work, I tried it.
Again
I am trying to convert private kyes generated via SSHTOOL to OpenSSH
format.

Thanks,

Ike



From: "Viet H. Phan" <***@yahoo.com>
To: jsch-***@lists.sourceforge.net, Ike Ikonne/Dallas/***@IBMUS
Date: 02/14/2011 09:46 PM
Subject: Re: [JSch-users] How to convert SSHTOOL private key to
OpenSSH format




Hi,

You can use PuTTYgen tool to do that.
Download the tool from here:
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

Regards,
Viet


--- On Tue, 2/15/11, Ike Ikonne <***@us.ibm.com> wrote:

From: Ike Ikonne <***@us.ibm.com>
Subject: [JSch-users] How to convert SSHTOOL private key to OpenSSH format
To: jsch-***@lists.sourceforge.net
Date: Tuesday, February 15, 2011, 12:26 AM

Hi all,

We have just recently migrated from SSHTOOL to jsch toolkit; one problem
that we are running into
is how to still let our customers/users make use of private keys generated
using the SSHTOOL.
Jsch can't handle these keys generated via SSSHTOOL. I am trying to find
out if there is any solution
that we can deploy to help make jsch able to handle these keys generated
using SSHTOOL. Any suggestions
will be highly appreciated.

Thanks,

Ike

-----Inline Attachment Follows-----

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb

-----Inline Attachment Follows-----

_______________________________________________
JSch-users mailing list
JSch-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users


We won't tell. Get more on shows you hate to love
(and love to hate): Yahoo! TV's Guilty Pleasures list.

8:00? 8:25? 8:40? Find a flick in no time
with theYahoo! Search movie showtime shortcut.
Viet H. Phan
2011-02-16 04:24:15 UTC
Permalink
Hi Ike,
I think you can use either J2SSH Maverick or opensource J2SSH API to do that.
1) J2SSH Maverick: http://www.sshtools.co.uk/en/j2ssh-maverick/Use this method: http://www.sshtools.co.uk/content/developer/maverick/docs/com/sshtools/publickey/SshPrivateKeyFileFactory.html#convertFile(java.io.File, java.lang.String, java.lang.String, int, java.io.File)
2) Opensource J2SSH: http://sourceforge.net/projects/sshtools/Class com.sshtools.j2ssh.transport.publickey.SshPrivateKeyFile seems to work for you:- First, use method parse(File) to read the SSHTOOLS private key- Then, use method setFormat(SshPrivateKeyFormat, String) to export the private key to new format (OpenSSH)
Hope they work for you.
Viet

--- On Tue, 2/15/11, Ike Ikonne <***@us.ibm.com> wrote:

From: Ike Ikonne <***@us.ibm.com>
Subject: Re: [JSch-users] How to convert SSHTOOL private key to OpenSSH format
To: "Viet H. Phan" <***@yahoo.com>
Cc: jsch-***@lists.sourceforge.net
Date: Tuesday, February 15, 2011, 11:51 PM

Hi Viet,



Thanks so much in your response; okay,
here is the deal, I have a private key in the following format



--- BEGIN SSHTOOLS ENCRYPTED PRIVATE KEY
----

Comment: 1024-bit dsa

Subject: xxxx

AAAACDNERVMtQ0JDGKeSLe6w6YcAAAFQkSiSE3yNQCGHBRJ8FFURPW6VsFil6s5TcPilj8PzZeeq


tHvTFVIQNz+JTwZc5Hg5j5DJadrApHgq4FfU+iMDG0oWQmVIFKKYQFNrPBPo/LRgYyZNvqGCTjuW


yq3BtBmYwV0+xlJ26lh00cUkwnjO2R+1aerm7rHBTD6RQzrnY1juv0OwTtHxTCSIyUQVYFQ7CUnB


KZGliSClsx6sAs6pgvqbvV16Wx2KHXfT8CED/qyY2Zey3hns6xvG/FnaLtZsombRv3VeZsiZCRqu


KfACsG8Slvx9gEnmNo1szkh2yhFBMgwLa7h/ZE6LcInbKGXzZ6CgI5mR0sN+5caQoAu4+5I6t9H3


q8qcs5Ymlo5FTA2aMof3K67m+l1sfv0ajVt8W5RI1MZflP0WOHh0Hj3keiFMZ4y34bayoMHgIBsh


NW1P7BVoZnghDJOPsAKjBIkQ

---- END SSHTOOLS ENCRYPTED PRIVATE KEY ----






We are looking for a solution to
convert it to the OpenSSH format below; when we try to import the above
using

puttygen, we get an error which
states that the above is not a valid private key. So, we want the above
to be converted

to the format below.  Does
anyone have an idea on how to go about doing it?





-----BEGIN RSA PRIVATE KEY-----


Proc-Type: 4,ENCRYPTED

DEK-Info: DES-EDE3-CBC,F1B37BF733792B7B




r+MyRcscd21Rn7zUfUV1g8tYgc02ep+svhG3zli4hIcXAyV0dtZ8xk83PaUh5GI+


Ym18eZmlKzQJQMD6FqOgqIuu1BDhjyupO6+vrVZGyYiZWiwIaPVFlR+wEoOPdjXP


dWahB71/0MU7ESBlK1j6p5lzST7R4ziJBKJ/kbpr/qko1k1MBDWsXVhzlufzuLcV


IqBESaOPhNeyY0D4nVEAzNX3nhbwFMy+4mX7Q3GxofULpmbAeNrk1lWSjKSY5Fd4


zpT6cyzceQN0KZUP7TwPbqI4MyjM2MnJ+VHu4U4gZi6UmdJ8ghawrEhdmyGuW7Ei


Oh5o1cD0FMPVhrPJKrmFlLhQZVtcqmqCw7POTj1pHlWzt1WWH4kEWNI9M0BBtHqe


DZ8YDcNc8deDECxoZQKWL8yJoKttreain1Se0azpgWOOQzBK2nxC0rOV0cJjEsxt


kiOQD2RrxKJJCi698SBpD2DG0APIZni9GzTh2A0rOJL++DYsUv/2bjkJOeUu/25E


u5mHE493VJMTOKCMPC9BMUzq1tEQ6GaR6xtOdQYr/yq+ZP747ZmaR5Qdu/r+tmBh


AHyEZLwIEwSgny9hZYkXHMXIleqfcumazQq+cs7F/d7UF6hN9usy/1zY3pO42q1k


0QQJoWlE73qAYyvdsYWCdzy3VXD9aQQDLSayLOmRgyO46DIPl3FGa0Kcjd6+oBGr


HqYmtvgOE4qOSaS3BIvNzlf+TblKZSRRteaTMHoYTjKhpSCPzkjellGMemRsEnrZ


MGOL6tmAgZYzviwo5wHSlnlzNn7TQ8DGjnV6RReCZsQ=


-----END RSA PRIVATE KEY-----












From:      
 "Viet H. Phan"
<***@yahoo.com>

To:      
 Ike Ikonne/Dallas/***@IBMUS

Cc:      
 jsch-***@lists.sourceforge.net

Date:      
 02/14/2011 10:06 PM

Subject:    
   Re: [JSch-users]
How to convert SSHTOOL private key to OpenSSH format











Hi,



Do you want manual or automatic conversion? If manual
conversion is acceptable to you, you just import the ssh.com private keys
to PuTTYgen,
then export it to OpenSSH format.

Hope I understand your requirements correctly :-).



Regards,

Viet



--- On Tue, 2/15/11, Ike Ikonne <***@us.ibm.com>
wrote:



From: Ike Ikonne <***@us.ibm.com>

Subject: Re: [JSch-users] How to convert SSHTOOL private key to OpenSSH
format

To: "Viet H. Phan" <***@yahoo.com>

Cc: jsch-***@lists.sourceforge.net

Date: Tuesday, February 15, 2011, 10:57 AM



Hi Thanks for your prompt response,
but puttygen doesn't work, I tried it.  Again


I am trying to convert private kyes generated via SSHTOOL to OpenSSH format.




Thanks,



Ike







From:        "Viet
H. Phan" <***@yahoo.com>

To:        jsch-***@lists.sourceforge.net,
Ike Ikonne/Dallas/***@IBMUS

Date:        02/14/2011
09:46 PM

Subject:        Re:
[JSch-users] How to convert SSHTOOL private key to OpenSSH format












Hi,



You can use PuTTYgen tool
to do that.

Download the tool from here: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html




Regards,

Viet





--- On Tue, 2/15/11, Ike Ikonne <***@us.ibm.com>
wrote:



From: Ike Ikonne <***@us.ibm.com>

Subject: [JSch-users] How to convert SSHTOOL private key to OpenSSH format

To: jsch-***@lists.sourceforge.net

Date: Tuesday, February 15, 2011, 12:26 AM



Hi all,



We have just recently migrated from SSHTOOL to jsch toolkit; one problem
that we are running into

is how to still let our customers/users make use of private keys generated
using the SSHTOOL.

Jsch can't handle these keys generated via SSSHTOOL.  I am trying
to find out if there is any solution

that we can deploy to help make jsch able to handle these keys generated
using SSHTOOL.  Any suggestions

will be highly appreciated.



Thanks,



Ike



-----Inline Attachment Follows-----



------------------------------------------------------------------------------

The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:

Pinpoint memory and threading errors before they happen.

Find and fix more than 250 security defects in the development cycle.

Locate bottlenecks in serial and parallel code that limit performance.

http://p.sf.net/sfu/intel-dev2devfeb




-----Inline Attachment Follows-----



_______________________________________________

JSch-users mailing list

JSch-***@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/jsch-users






We won't tell. Get more on shows
you hate to love

(and love to hate): Yahoo!
TV's Guilty Pleasures list.




8:00? 8:25? 8:40? Find
a flick in no time

with theYahoo!
Search movie showtime shortcut.
Ike Ikonne
2011-02-16 10:31:17 UTC
Permalink
Hi Viet,

Thanks so much for your interest in helping with this issue; I had already
tried the suggestions
that you made, but those APIs in Maverick and SSH tool don't work either.
I had already
brought it to the attention of the folks over at Maverick, right now, they
don't have a solution
for it.

Thanks,

Ike







From: "Viet H. Phan" <***@yahoo.com>
To: Ike Ikonne/Dallas/***@IBMUS
Cc: jsch-***@lists.sourceforge.net
Date: 02/15/2011 10:24 PM
Subject: Re: [JSch-users] How to convert SSHTOOL private key to
OpenSSH format




Hi Ike,

I think you can use either J2SSH Maverick or opensource J2SSH API to do
that.

1) J2SSH Maverick: http://www.sshtools.co.uk/en/j2ssh-maverick/
Use this method:
http://www.sshtools.co.uk/content/developer/maverick/docs/com/sshtools/publickey/SshPrivateKeyFileFactory.html#convertFile(java.io.File,
java.lang.String, java.lang.String, int, java.io.File)

2) Opensource J2SSH: http://sourceforge.net/projects/sshtools/
Class com.sshtools.j2ssh.transport.publickey.SshPrivateKeyFile seems to
work for you:
- First, use method parse(File) to read the SSHTOOLS private key
- Then, use method setFormat(SshPrivateKeyFormat, String) to export the
private key to new format (OpenSSH)

Hope they work for you.

Viet

--- On Tue, 2/15/11, Ike Ikonne <***@us.ibm.com> wrote:

From: Ike Ikonne <***@us.ibm.com>
Subject: Re: [JSch-users] How to convert SSHTOOL private key to OpenSSH
format
To: "Viet H. Phan" <***@yahoo.com>
Cc: jsch-***@lists.sourceforge.net
Date: Tuesday, February 15, 2011, 11:51 PM

Hi Viet,

Thanks so much in your response; okay, here is the deal, I have a private
key in the following format

--- BEGIN SSHTOOLS ENCRYPTED PRIVATE KEY ----
Comment: 1024-bit dsa
Subject: xxxx
AAAACDNERVMtQ0JDGKeSLe6w6YcAAAFQkSiSE3yNQCGHBRJ8FFURPW6VsFil6s5TcPilj8PzZeeq

tHvTFVIQNz+JTwZc5Hg5j5DJadrApHgq4FfU+iMDG0oWQmVIFKKYQFNrPBPo/LRgYyZNvqGCTjuW

yq3BtBmYwV0+xlJ26lh00cUkwnjO2R+1aerm7rHBTD6RQzrnY1juv0OwTtHxTCSIyUQVYFQ7CUnB

KZGliSClsx6sAs6pgvqbvV16Wx2KHXfT8CED/qyY2Zey3hns6xvG/FnaLtZsombRv3VeZsiZCRqu

KfACsG8Slvx9gEnmNo1szkh2yhFBMgwLa7h/ZE6LcInbKGXzZ6CgI5mR0sN+5caQoAu4+5I6t9H3

q8qcs5Ymlo5FTA2aMof3K67m+l1sfv0ajVt8W5RI1MZflP0WOHh0Hj3keiFMZ4y34bayoMHgIBsh

NW1P7BVoZnghDJOPsAKjBIkQ
---- END SSHTOOLS ENCRYPTED PRIVATE KEY ----


We are looking for a solution to convert it to the OpenSSH format below;
when we try to import the above using
puttygen, we get an error which states that the above is not a valid
private key. So, we want the above to be converted
to the format below. Does anyone have an idea on how to go about doing
it?


-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: DES-EDE3-CBC,F1B37BF733792B7B

r+MyRcscd21Rn7zUfUV1g8tYgc02ep+svhG3zli4hIcXAyV0dtZ8xk83PaUh5GI+
Ym18eZmlKzQJQMD6FqOgqIuu1BDhjyupO6+vrVZGyYiZWiwIaPVFlR+wEoOPdjXP
dWahB71/0MU7ESBlK1j6p5lzST7R4ziJBKJ/kbpr/qko1k1MBDWsXVhzlufzuLcV
IqBESaOPhNeyY0D4nVEAzNX3nhbwFMy+4mX7Q3GxofULpmbAeNrk1lWSjKSY5Fd4
zpT6cyzceQN0KZUP7TwPbqI4MyjM2MnJ+VHu4U4gZi6UmdJ8ghawrEhdmyGuW7Ei
Oh5o1cD0FMPVhrPJKrmFlLhQZVtcqmqCw7POTj1pHlWzt1WWH4kEWNI9M0BBtHqe
DZ8YDcNc8deDECxoZQKWL8yJoKttreain1Se0azpgWOOQzBK2nxC0rOV0cJjEsxt
kiOQD2RrxKJJCi698SBpD2DG0APIZni9GzTh2A0rOJL++DYsUv/2bjkJOeUu/25E
u5mHE493VJMTOKCMPC9BMUzq1tEQ6GaR6xtOdQYr/yq+ZP747ZmaR5Qdu/r+tmBh
AHyEZLwIEwSgny9hZYkXHMXIleqfcumazQq+cs7F/d7UF6hN9usy/1zY3pO42q1k
0QQJoWlE73qAYyvdsYWCdzy3VXD9aQQDLSayLOmRgyO46DIPl3FGa0Kcjd6+oBGr
HqYmtvgOE4qOSaS3BIvNzlf+TblKZSRRteaTMHoYTjKhpSCPzkjellGMemRsEnrZ
MGOL6tmAgZYzviwo5wHSlnlzNn7TQ8DGjnV6RReCZsQ=
-----END RSA PRIVATE KEY-----





From: "Viet H. Phan" <***@yahoo.com>
To: Ike Ikonne/Dallas/***@IBMUS
Cc: jsch-***@lists.sourceforge.net
Date: 02/14/2011 10:06 PM
Subject: Re: [JSch-users] How to convert SSHTOOL private key to
OpenSSH format




Hi,

Do you want manual or automatic conversion? If manual conversion is
acceptable to you, you just import the ssh.com private keys to PuTTYgen,
then export it to OpenSSH format.
Hope I understand your requirements correctly :-).

Regards,
Viet

--- On Tue, 2/15/11, Ike Ikonne <***@us.ibm.com> wrote:

From: Ike Ikonne <***@us.ibm.com>
Subject: Re: [JSch-users] How to convert SSHTOOL private key to OpenSSH
format
To: "Viet H. Phan" <***@yahoo.com>
Cc: jsch-***@lists.sourceforge.net
Date: Tuesday, February 15, 2011, 10:57 AM

Hi Thanks for your prompt response, but puttygen doesn't work, I tried it.
Again
I am trying to convert private kyes generated via SSHTOOL to OpenSSH
format.

Thanks,

Ike



From: "Viet H. Phan" <***@yahoo.com>
To: jsch-***@lists.sourceforge.net, Ike Ikonne/Dallas/***@IBMUS
Date: 02/14/2011 09:46 PM
Subject: Re: [JSch-users] How to convert SSHTOOL private key to
OpenSSH format




Hi,

You can use PuTTYgen tool to do that.
Download the tool from here:
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

Regards,
Viet


--- On Tue, 2/15/11, Ike Ikonne <***@us.ibm.com> wrote:

From: Ike Ikonne <***@us.ibm.com>
Subject: [JSch-users] How to convert SSHTOOL private key to OpenSSH format
To: jsch-***@lists.sourceforge.net
Date: Tuesday, February 15, 2011, 12:26 AM

Hi all,

We have just recently migrated from SSHTOOL to jsch toolkit; one problem
that we are running into
is how to still let our customers/users make use of private keys generated
using the SSHTOOL.
Jsch can't handle these keys generated via SSSHTOOL. I am trying to find
out if there is any solution
that we can deploy to help make jsch able to handle these keys generated
using SSHTOOL. Any suggestions
will be highly appreciated.

Thanks,

Ike

-----Inline Attachment Follows-----

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb

-----Inline Attachment Follows-----

_______________________________________________
JSch-users mailing list
JSch-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users



We won't tell. Get more on shows you hate to love
(and love to hate): Yahoo! TV's Guilty Pleasures list.


8:00? 8:25? 8:40? Find a flick in no time
with theYahoo! Search movie showtime shortcut.

Loading...