git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1429602 13f79535-47bb-0310-9956-ffa450edef68master
| @@ -1,4 +1,4 @@ | |||||
| Changes from Ant 1.8.4 TO Ant 1.9.0 | |||||
| Changes from Ant 1.8.4 TO Ant 1.9.0 | |||||
| =================================== | =================================== | ||||
| Changes that could break older environments: | Changes that could break older environments: | ||||
| @@ -59,6 +59,9 @@ Fixed bugs: | |||||
| * <get> now supports HTTP redirects using status code 307. | * <get> now supports HTTP redirects using status code 307. | ||||
| Bugzilla Report 54374. | Bugzilla Report 54374. | ||||
| * ssh tasks prompt for kerberos username/password under Java 7 | |||||
| Bugzilla Report 53437. | |||||
| Other changes: | Other changes: | ||||
| -------------- | -------------- | ||||
| @@ -218,6 +218,8 @@ public abstract class SSHBase extends Task implements LogListener { | |||||
| } | } | ||||
| Session session = jsch.getSession(userInfo.getName(), host, port); | Session session = jsch.getSession(userInfo.getName(), host, port); | ||||
| session.setConfig("PreferredAuthentications", | |||||
| "publickey,keyboard-interactive,password"); | |||||
| session.setUserInfo(userInfo); | session.setUserInfo(userInfo); | ||||
| log("Connecting to " + host + ":" + port); | log("Connecting to " + host + ":" + port); | ||||
| session.connect(); | session.connect(); | ||||