ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mykhailo Delegan (JIRA)" <>
Subject [jira] [Commented] (IVY-1408) Ssh Resolver doesn't work with recent Jsch versions
Date Fri, 01 Mar 2013 05:09:13 GMT


Mykhailo Delegan commented on IVY-1408:

I'm afraid the patch won't work w/o jsch upgrade, since {{Session.setConfig(String, String)}}
was introduced in later versions of jsch. I will submit patch which should work w/o jsch upgrade
later today. 

You can disregard my comment if patch actually worked out and ivy has been succesfully compiled
with it, I just don't know where is CI server hosted to check it.
> Ssh Resolver doesn't work with recent Jsch versions
> ---------------------------------------------------
>                 Key: IVY-1408
>                 URL:
>             Project: Ivy
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 2.3.0
>            Reporter: Mykhailo Delegan
>            Assignee: Maarten Coene
>            Priority: Minor
>             Fix For: 2.4.0
>         Attachments: IVY-1408.patch
> There is a known "issue" with the Jsch library and Java 1.7, in that it prompts for a
kerberos username and password (which are then ignored if other credentials have already been
supplied). This doesn't stop the Ant ssh tasks from working, but it does stop them from being
completely automated (e.g. scripts invoked by a CI server like Jenkins)
> The workaround is either of two: 
> # Move back to Java 1.6
> # Use old enough Jsch version (0.1.31 seems to be ok).
> Jsch author, Atsuhiko Yamanaka, [suggests|]
to configure Jsch Session as following to avoid the issue: 
> {code:java}
> session.setConfig("PreferredAuthentications", "publickey,keyboard-interactive,password");
> {code}
> The very same issue was [filed|]
and [fixed|] in Ant. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message