[ http://jira.codehaus.org/browse/WAGONSSH-13?page=comments#action_46887 ] 

Juan F. Codagnone commented on WAGONSSH-13:
-------------------------------------------


my interpretation of jsch code  jsch-0.1.21/src/com/jcraft/jsch/Session.java[1] 
 around line 357 shows the jsch will choose the order depending the servers 
order.

So the best i think is to provide a safe default, and a way to change it 
(configure it)  (like i want to configure it in WAGON-12). The nice thing about 
programing to interafaces and having a IoC container is that you can replace 
everything. I will work in a real solution if you like. (not this hack)

[1] they dont have a viewcvs or any javadoc



> authentication with passwords can fail in some environments
> -----------------------------------------------------------
>
>          Key: WAGONSSH-13
>          URL: http://jira.codehaus.org/browse/WAGONSSH-13
>      Project: wagon-ssh
>         Type: Bug
>     Reporter: Juan F. Codagnone
>     Priority: Minor
>  Attachments: WAGON-13.diff
>
>
> if the repository use username / password authentication and the server 
> (openssh here) has "PasswordAuthentication no" option set, it fail to auth. I 
> can log in using others ssh clients thow.
> Changing PasswordAuthentication to yes, makes wagon succeed , but it is not a 
> practical solution.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to