https://issues.apache.org/bugzilla/show_bug.cgi?id=53437
Priority: P2
Bug ID: 53437
Assignee: [email protected]
Summary: ssh tasks prompt for kerberos username/password under
Java 7
Severity: major
Classification: Unclassified
Reporter: [email protected]
Hardware: PC
Status: NEW
Version: unspecified
Component: Optional Tasks
Product: Ant
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 only work around I can find is to move back to Java 1.6 or earlier. The
issue exists with Jsch 0.1.47 and 0.1.48.
The Jsch author's suggested work around is to add the following to your client
code when establishing the Jsch channel session:
session.setConfig("PreferredAuthentications",
"publickey,keyboard-interactive,password");
Please can this code be added to the Ant ssh tasks?
--
You are receiving this mail because:
You are the assignee for the bug.