You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Lauzon Daniel-Y18165 <Y1...@motorola.com> on 2004/02/03 20:47:15 UTC
RE: SCP and key-agents and jsch in general
I couldn't find the jsch.jar that the ant manual mentions but found its sources and I compiled them (after getting hold of the jce they required). now a simple ssh call : <sshexec host="some.host.in.digits" trust="yes" username="unam" password="pwd" command="ls"/> generates this error
[sshexec] java.security.NoSuchAlgorithmException: DH KeyPairGenerator not avai
lable
would this be a sign that key based authentication is in use on my server?
or am I just missing some other jar?
-----Original Message-----
From: Anderson, Rob (Global Trade) [mailto:Rob.Anderson2@nike.com]
Sent: 3 février, 2004 11:33
To: Ant Users List
Subject: RE: SCP and key-agents
You can still use keys and passphrased keys without an agent.
-Rob A
> -----Original Message-----
> From: Corey Jewett [mailto:cj@syntheticplayground.com]
> Sent: Monday, February 02, 2004 11:17 PM
> To: Ant Users List
> Subject: Re: SCP and key-agents
>
>
> I tried it implicitly (by not setting a password), but ant demanded I
> set one, that was specifically what I was asking about.
>
> I'll check into if Jsch can use agents also.
>
> Corey
>
>
> On Monday, February 2, 2004, at 11:09 PM, Stefan Bodewig wrote:
>
> > On Mon, 2 Feb 2004, Corey Jewett <cj...@syntheticplayground.com> wrote:
> >
> >> I use a key agent for authenticating ssh/scp. Am I correct that ant
> >> does not (and probably cannot) support key agents using
> the optional
> >> scp task?
> >
> > Ant will, if JSch does. I vaguely recall once seeing it on JSch's
> > TODO list, but today it is neither in the list of features nor the
> > TODOs. You may want to ask on the JSch user list.
> >
> > Stefan
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > For additional commands, e-mail: user-help@ant.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: SCP and key-agents and jsch in general
Posted by Corey Jewett <cj...@syntheticplayground.com>.
About a month ago there was a thread providing two solutions.
http://marc.theaimsgroup.com/?l=ant-user&m=107160632406332&w=2
Corey
On Tuesday, February 3, 2004, at 11:47 AM, Lauzon Daniel-Y18165 wrote:
> I couldn't find the jsch.jar that the ant manual mentions but found
> its sources and I compiled them (after getting hold of the jce they
> required). now a simple ssh call : <sshexec host="some.host.in.digits"
> trust="yes" username="unam" password="pwd" command="ls"/> generates
> this error
>
> [sshexec] java.security.NoSuchAlgorithmException: DH
> KeyPairGenerator not avai
> lable
>
> would this be a sign that key based authentication is in use on my
> server?
> or am I just missing some other jar?
>
> -----Original Message-----
> From: Anderson, Rob (Global Trade) [mailto:Rob.Anderson2@nike.com]
> Sent: 3 février, 2004 11:33
> To: Ant Users List
> Subject: RE: SCP and key-agents
>
>
> You can still use keys and passphrased keys without an agent.
>
> -Rob A
>
>> -----Original Message-----
>> From: Corey Jewett [mailto:cj@syntheticplayground.com]
>> Sent: Monday, February 02, 2004 11:17 PM
>> To: Ant Users List
>> Subject: Re: SCP and key-agents
>>
>>
>> I tried it implicitly (by not setting a password), but ant demanded I
>> set one, that was specifically what I was asking about.
>>
>> I'll check into if Jsch can use agents also.
>>
>> Corey
>>
>>
>> On Monday, February 2, 2004, at 11:09 PM, Stefan Bodewig wrote:
>>
>>> On Mon, 2 Feb 2004, Corey Jewett <cj...@syntheticplayground.com> wrote:
>>>
>>>> I use a key agent for authenticating ssh/scp. Am I correct that ant
>>>> does not (and probably cannot) support key agents using
>> the optional
>>>> scp task?
>>>
>>> Ant will, if JSch does. I vaguely recall once seeing it on JSch's
>>> TODO list, but today it is neither in the list of features nor the
>>> TODOs. You may want to ask on the JSch user list.
>>>
>>> Stefan
>>>
>>>
>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>> For additional commands, e-mail: user-help@ant.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org