ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lauzon Daniel-Y18165 <Y18...@motorola.com>
Subject RE: SCP and key-agents and jsch in general
Date Thu, 05 Feb 2004 21:28:46 GMT
I got OpenSSH 3.1 so its version wasn't the issue, however, the upgrade to jdk1.4 in my case
is excluded, I swapped to telnet and ftp tasks to do my stuff and I'm happy since

Motorola General Business Information unless otherwise indicated


-----Original Message-----
From: Corey Jewett [mailto:cj@syntheticplayground.com]
Sent: 5 février, 2004 15:33
To: Ant Users List
Subject: Re: SCP and key-agents and jsch in general


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

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message