Maven Wagon

SCP deployment echos pasword

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Critical Critical
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: 1.1
  • Component/s: wagon-ssh
  • Labels:
    None
  • Environment:
    ubuntu linux
  • Number of attachments :
    1

Description

If you do not have keys set up and you upload via scp during a deploy phase the password is echoed to the user.
very bad

Activity

Hide
kristian meier added a comment -

I did ran into the some problem on suse-linux. attached you will find a patch which works for me on the tagged version tags/wagon-1.0-beta-1/wagon-providers/wagon-ssh, but the patch is for the trunk.

I do not understand the whole consequence of the patch, but it is related to the comment in the jsch mailinglist. for me it is very important to get this to work in order to introduce maven2 as build system in our company.

another thing here is that I have to run
maven deploy -B
otherwise the interactive-flag is set and that will always prompt for the password !!

than I put <interactiveMode/> into my setting.xml and surprisingly maven deploy work without prompt ! for me that xml-tag should better be called <batchMode/>, but maybe I understand something wrong.

hope that helps to get a working version.

Show
kristian meier added a comment - I did ran into the some problem on suse-linux. attached you will find a patch which works for me on the tagged version tags/wagon-1.0-beta-1/wagon-providers/wagon-ssh, but the patch is for the trunk. I do not understand the whole consequence of the patch, but it is related to the comment in the jsch mailinglist. for me it is very important to get this to work in order to introduce maven2 as build system in our company. another thing here is that I have to run maven deploy -B otherwise the interactive-flag is set and that will always prompt for the password !! than I put <interactiveMode/> into my setting.xml and surprisingly maven deploy work without prompt ! for me that xml-tag should better be called <batchMode/>, but maybe I understand something wrong. hope that helps to get a working version.
Hide
kristian meier added a comment -

possible patch for solving this issue

Show
kristian meier added a comment - possible patch for solving this issue
Hide
kristian meier added a comment -

please forget my comment about <interactiveMode/> which is equivalent to <interactiveMode>false</interactiveMode>. I was just not able to read the docu carefully, I guess.

Show
kristian meier added a comment - please forget my comment about <interactiveMode/> which is equivalent to <interactiveMode>false</interactiveMode>. I was just not able to read the docu carefully, I guess.
Hide
Brett Porter added a comment -

are you referring to when you type the password in when prompted?

the patch no longer applies

Show
Brett Porter added a comment - are you referring to when you type the password in when prompted? the patch no longer applies
Hide
Andrew Williams added a comment -

Yes, it echoes the characters you type to the console.

Show
Andrew Williams added a comment - Yes, it echoes the characters you type to the console.

People

Vote (7)
Watch (6)

Dates

  • Created:
    Updated: