[ 
https://jira.codehaus.org/browse/WAGON-355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=337616#comment-337616
 ] 

Anthony Whitford commented on WAGON-355:
----------------------------------------

Actually, it seems that the default value for {{PreferredAuthentications}} is:
{noformat}gssapi-with-mic,publickey,keyboard-interactive,password{noformat}

The 
[logic|http://maven.apache.org/wagon/wagon-providers/wagon-ssh/xref/org/apache/maven/wagon/providers/ssh/jsch/AbstractJschWagon.html#224]
 is revising it if a password is detected -- it changes it to:
{noformat}gssapi-with-mic,publickey,password,keyboard-interactive{noformat}

(Now, password is specified before a keyboard prompt.)
                
> Expose PreferredAuthentications property of jsch in some way
> ------------------------------------------------------------
>
>                 Key: WAGON-355
>                 URL: https://jira.codehaus.org/browse/WAGON-355
>             Project: Maven Wagon
>          Issue Type: Improvement
>          Components: wagon-ssh
>    Affects Versions: 2.0
>         Environment: Any. I happened to test with Maven 2.2.1 and jdk 1.7
>            Reporter: Lester Ward
>            Priority: Minor
>
> Deploy using scp. Under jdk 1.7, support for gssapi-with-mic works 
> differently than it did under jdk 1.6, to the point where we do not want to 
> use it. Ultimately, the deploy plugin uses the jsch library to deploy using 
> scp. This library has an property called PreferredAuthentications which 
> controls which authentications get used, in which order. The code in 
> AbstractJschWagon hard-codes 
> "gssapi-with-mic,publickey,password,keyboard-interactive" into this property. 
> I'd like a way to somehow override that, preferably in my project's pom file.

--
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: http://www.atlassian.com/software/jira

Reply via email to