You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by Kim X Andersen <ka...@csc.com> on 2010/08/27 12:58:51 UTC

SSH resolver and keyFile ppk

Hi
 
I'm having trouble using the SSH resolver with a keyfile. I have tried with username/password combination and this works for me. The keyFile is generated with puttygen and it has no password. I have logon to the server and tested that the keyfile works with putty.
 
This is how I use the ssh resolver
 
<ssh name="team" user="m04363" host="exeter1" port="22" keyFile="c:\krump.ppk">

<ivy pattern="${ivy.team.repo}/${ivy.team.repository.ivy.pattern}"/>

<artifact pattern="${ivy.team.repo}/${ivy.team.repository.artifact.pattern}"/>

</ssh> 

 
I have tried different things and one of the error message was can't find pem file. Does ssh resolver only support pem file or what am I doing wrong?
 
Thx in advanced

Kim B. Andersen

RE: SSH resolver and keyFile ppk

Posted by Kim X Andersen <ka...@csc.com>.
Hi

Thank you guys. It worked like a charm.

Kim B. Andersen
-----James Davis <ja...@atsid.com> wrote: -----


To: "ivy-user@ant.apache.org" <iv...@ant.apache.org>
From: James Davis <ja...@atsid.com>
Date: 08/27/2010 03:21PM
Subject: RE: SSH resolver and keyFile ppk

yes, it does.  Once you generate your key using puttygen, there is a menu option at the top to export to openssh (Conversions->Openssh).  


James Davis • QA Engineer II/Software Engineer
Applied Technical Systems, Inc. • Systems Division
web: www.atsid.com • e-mail: james.davis@atsid.com
(p) 360.698.7100 x241 • (f) 360.698.7200

________________________________________
From: Maarten Coene [maarten_coene@yahoo.com]
Sent: Friday, August 27, 2010 4:37 AM
To: ivy-user@ant.apache.org
Subject: Re: SSH resolver and keyFile ppk

I think puttygen has options to export your private key to other formats
(OpenSSH for instance).

Maarten



----- Original Message ----
From: Kim X Andersen <ka...@csc.com>
To: ivy-user@ant.apache.org
Cc: ivy-user@ant.apache.org
Sent: Fri, August 27, 2010 1:30:46 PM
Subject: Re: SSH resolver and keyFile ppk

Hi

I not that knowledgeable with generating keys. Can you suggest another free tool
to do this?

Kim B. Andersen


-----Maarten Coene <ma...@yahoo.com> wrote: -----


To: ivy-user@ant.apache.org
From: Maarten Coene <ma...@yahoo.com>
Date: 08/27/2010 01:21PM
Subject: Re: SSH resolver and keyFile ppk

Ivy uses Jsch for the SSH resolver.
I could be mistaken, but it seems that Jsch doesn't support puty .ppk files.

Maarten




----- Original Message ----
From: Kim X Andersen <ka...@csc.com>
To: ivy-user@ant.apache.org
Sent: Fri, August 27, 2010 12:58:51 PM
Subject: SSH resolver and keyFile ppk

Hi

I'm having trouble using the SSH resolver with a keyfile. I have tried with
username/password combination and this works for me. The keyFile is generated
with puttygen and it has no password. I have logon to the server and tested that

the keyfile works with putty.

This is how I use the ssh resolver

<ssh name="team" user="m04363" host="exeter1" port="22" keyFile="c:\krump.ppk">

<ivy pattern="${ivy.team.repo}/${ivy.team.repository.ivy.pattern}"/>

<artifact pattern="${ivy.team.repo}/${ivy.team.repository.artifact.pattern}"/>

</ssh>


I have tried different things and one of the error message was can't find pem
file. Does ssh resolver only support pem file or what am I doing wrong?

Thx in advanced

Kim B. Andersen

RE: SSH resolver and keyFile ppk

Posted by James Davis <ja...@atsid.com>.
yes, it does.  Once you generate your key using puttygen, there is a menu option at the top to export to openssh (Conversions->Openssh).  


James Davis • QA Engineer II/Software Engineer
Applied Technical Systems, Inc. • Systems Division
web: www.atsid.com • e-mail: james.davis@atsid.com
(p) 360.698.7100 x241 • (f) 360.698.7200

________________________________________
From: Maarten Coene [maarten_coene@yahoo.com]
Sent: Friday, August 27, 2010 4:37 AM
To: ivy-user@ant.apache.org
Subject: Re: SSH resolver and keyFile ppk

I think puttygen has options to export your private key to other formats
(OpenSSH for instance).

Maarten



----- Original Message ----
From: Kim X Andersen <ka...@csc.com>
To: ivy-user@ant.apache.org
Cc: ivy-user@ant.apache.org
Sent: Fri, August 27, 2010 1:30:46 PM
Subject: Re: SSH resolver and keyFile ppk

Hi

I not that knowledgeable with generating keys. Can you suggest another free tool
to do this?

Kim B. Andersen


-----Maarten Coene <ma...@yahoo.com> wrote: -----


To: ivy-user@ant.apache.org
From: Maarten Coene <ma...@yahoo.com>
Date: 08/27/2010 01:21PM
Subject: Re: SSH resolver and keyFile ppk

Ivy uses Jsch for the SSH resolver.
I could be mistaken, but it seems that Jsch doesn't support puty .ppk files.

Maarten




----- Original Message ----
From: Kim X Andersen <ka...@csc.com>
To: ivy-user@ant.apache.org
Sent: Fri, August 27, 2010 12:58:51 PM
Subject: SSH resolver and keyFile ppk

Hi

I'm having trouble using the SSH resolver with a keyfile. I have tried with
username/password combination and this works for me. The keyFile is generated
with puttygen and it has no password. I have logon to the server and tested that

the keyfile works with putty.

This is how I use the ssh resolver

<ssh name="team" user="m04363" host="exeter1" port="22" keyFile="c:\krump.ppk">

<ivy pattern="${ivy.team.repo}/${ivy.team.repository.ivy.pattern}"/>

<artifact pattern="${ivy.team.repo}/${ivy.team.repository.artifact.pattern}"/>

</ssh>


I have tried different things and one of the error message was can't find pem
file. Does ssh resolver only support pem file or what am I doing wrong?

Thx in advanced

Kim B. Andersen




Re: SSH resolver and keyFile ppk

Posted by Maarten Coene <ma...@yahoo.com>.
I think puttygen has options to export your private key to other formats 
(OpenSSH for instance).

Maarten



----- Original Message ----
From: Kim X Andersen <ka...@csc.com>
To: ivy-user@ant.apache.org
Cc: ivy-user@ant.apache.org
Sent: Fri, August 27, 2010 1:30:46 PM
Subject: Re: SSH resolver and keyFile ppk

Hi

I not that knowledgeable with generating keys. Can you suggest another free tool 
to do this?

Kim B. Andersen


-----Maarten Coene <ma...@yahoo.com> wrote: -----


To: ivy-user@ant.apache.org
From: Maarten Coene <ma...@yahoo.com>
Date: 08/27/2010 01:21PM
Subject: Re: SSH resolver and keyFile ppk

Ivy uses Jsch for the SSH resolver.
I could be mistaken, but it seems that Jsch doesn't support puty .ppk files.

Maarten




----- Original Message ----
From: Kim X Andersen <ka...@csc.com>
To: ivy-user@ant.apache.org
Sent: Fri, August 27, 2010 12:58:51 PM
Subject: SSH resolver and keyFile ppk

Hi

I'm having trouble using the SSH resolver with a keyfile. I have tried with 
username/password combination and this works for me. The keyFile is generated 
with puttygen and it has no password. I have logon to the server and tested that 

the keyfile works with putty.

This is how I use the ssh resolver

<ssh name="team" user="m04363" host="exeter1" port="22" keyFile="c:\krump.ppk">

<ivy pattern="${ivy.team.repo}/${ivy.team.repository.ivy.pattern}"/>

<artifact pattern="${ivy.team.repo}/${ivy.team.repository.artifact.pattern}"/>

</ssh> 


I have tried different things and one of the error message was can't find pem 
file. Does ssh resolver only support pem file or what am I doing wrong?

Thx in advanced

Kim B. Andersen


      

Re: SSH resolver and keyFile ppk

Posted by Kim X Andersen <ka...@csc.com>.
Hi

I not that knowledgeable with generating keys. Can you suggest another free tool to do this?

Kim B. Andersen


-----Maarten Coene <ma...@yahoo.com> wrote: -----


To: ivy-user@ant.apache.org
From: Maarten Coene <ma...@yahoo.com>
Date: 08/27/2010 01:21PM
Subject: Re: SSH resolver and keyFile ppk

Ivy uses Jsch for the SSH resolver.
I could be mistaken, but it seems that Jsch doesn't support puty .ppk files.

Maarten




----- Original Message ----
From: Kim X Andersen <ka...@csc.com>
To: ivy-user@ant.apache.org
Sent: Fri, August 27, 2010 12:58:51 PM
Subject: SSH resolver and keyFile ppk

Hi

I'm having trouble using the SSH resolver with a keyfile. I have tried with 
username/password combination and this works for me. The keyFile is generated 
with puttygen and it has no password. I have logon to the server and tested that 
the keyfile works with putty.

This is how I use the ssh resolver

<ssh name="team" user="m04363" host="exeter1" port="22" keyFile="c:\krump.ppk">

<ivy pattern="${ivy.team.repo}/${ivy.team.repository.ivy.pattern}"/>

<artifact pattern="${ivy.team.repo}/${ivy.team.repository.artifact.pattern}"/>

</ssh> 


I have tried different things and one of the error message was can't find pem 
file. Does ssh resolver only support pem file or what am I doing wrong?

Thx in advanced

Kim B. Andersen


      

Re: SSH resolver and keyFile ppk

Posted by Maarten Coene <ma...@yahoo.com>.
Ivy uses Jsch for the SSH resolver.
I could be mistaken, but it seems that Jsch doesn't support puty .ppk files.

Maarten




----- Original Message ----
From: Kim X Andersen <ka...@csc.com>
To: ivy-user@ant.apache.org
Sent: Fri, August 27, 2010 12:58:51 PM
Subject: SSH resolver and keyFile ppk

Hi

I'm having trouble using the SSH resolver with a keyfile. I have tried with 
username/password combination and this works for me. The keyFile is generated 
with puttygen and it has no password. I have logon to the server and tested that 
the keyfile works with putty.

This is how I use the ssh resolver

<ssh name="team" user="m04363" host="exeter1" port="22" keyFile="c:\krump.ppk">

<ivy pattern="${ivy.team.repo}/${ivy.team.repository.ivy.pattern}"/>

<artifact pattern="${ivy.team.repo}/${ivy.team.repository.artifact.pattern}"/>

</ssh> 


I have tried different things and one of the error message was can't find pem 
file. Does ssh resolver only support pem file or what am I doing wrong?

Thx in advanced

Kim B. Andersen