Uploaded image for project: 'Maven Wagon'
  1. Maven Wagon
  2. WAGON-440

wagon-ssh not able to handle JSch interactive mode

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.9
    • Fix Version/s: 2.10
    • Component/s: wagon-ssh
    • Labels:
      None

      Description

      JSch by default works with ssh interactive authentication programmatically ( no user interaction). wagon-ssh does not honor this automation

      the work around is to use public key, and password authentication. For my case, our automation requires user/password. However, by default, most linux boxes now have password authentication disable by default

      a good reference to his issue is http://www.ganymed.ethz.ch/ssh2/FAQ.html#passwordauth . this also applies to jcsh

      I found a fix for this at AbstractJschWagon

      session.setPassword(ui.getPassword());
      //session.setUserInfo( ui );

      will need a more generic solution

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dantran Dan Tran
                Reporter:
                dantran Dan Tran
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: