[ 
https://issues.apache.org/jira/browse/WAGON-413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14563783#comment-14563783
 ] 

Florian Kolbe commented on WAGON-413:
-------------------------------------

Vielen Dank für Ihre E-Mail.

bis 29.05.15 bin ich außer Haus und kann Ihre E-Mail nicht beantworten.

Bitte wenden Sie sich in dringenden Angelegenheiten an die Zentrale, oder an 
die im Vorfeld genannten Ansprechpartner.

Ab dem 01.06.15 bin ich wieder wie gewohnt für Sie erreichbar.

-------------------------------------------------------------------------

Thank you very much for your message.

I am out of office from (see above) and cannot reply to your email.

In urgent cases please contact the secretary's office.

I will be back in the office on (see above).

Mit freundlichen Grüßen
Kind regards

Florian Kolbe
IT Consultant
in-integrierte informationssysteme GmbH



> Private Key authentication is no longer working with wagon-ssh-2.6
> ------------------------------------------------------------------
>
>                 Key: WAGON-413
>                 URL: https://issues.apache.org/jira/browse/WAGON-413
>             Project: Maven Wagon
>          Issue Type: Bug
>          Components: wagon-ssh
>    Affects Versions: 2.6
>         Environment: Windows, Maven 3.0.4, Java 7 64-bit
>            Reporter: Anthony Whitford
>            Priority: Blocker
>         Attachments: maven-wagon-ssh-WAGON-413.patch
>
>
> I have to provide the {{wagon-ssh}} dependency to the {{maven-site-plugin}} 
> in order to upload the site via {{scp}}.  Authentication for the {{scp}} is 
> done via an _SSH key_.
> Version 2.5 works fine, but when I upgrade to version 2.6, I am now getting a 
> Password prompt, and then a _Connection Refused_.  (The Private Key should 
> negate a password prompt.)
> With version 2.6, I get BUILD FAILURE:
> {noformat}
> [INFO] --- maven-site-plugin:3.3:deploy (default-deploy) @ project ---
>  Using private key: C:\Users\BuildAgent\.ssh\id_rsa
>  Password for buildagent@mvnsitehost: 
> scp://mvnsitehost/opt/maven/sites/project/3.4-SNAPSHOT/ - Session: Connection 
> refused
>  scp://mvnsitehost/opt/maven/sites/project/3.4-SNAPSHOT/ - Session: 
> Disconnecting  
>  scp://mvnsitehost/opt/maven/sites/project/3.4-SNAPSHOT/ - Session: 
> Disconnected
>  [INFO] 
> ------------------------------------------------------------------------
>  [INFO] BUILD FAILURE
> {noformat}
> With version 2.5, I get BUILD SUCCESS:
> {noformat}
>  [INFO] --- maven-site-plugin:3.3:deploy (default-deploy) @ project ---
>  Using private key: C:\Users\BuildAgent\.ssh\id_rsa
>  scp://mvnsitehost/opt/maven/sites/project/3.4-SNAPSHOT/ - Session: Opened  
>  [INFO] Pushing D:\BuildAgent\projects\Project\Build_Snapshot\target\site
>  [INFO]    >>> to scp://mvnsitehost/opt/maven/sites/project/3.4-SNAPSHOT/./
>  Executing command: mkdir -p "/opt/maven/sites/project/3.4-SNAPSHOT/./"
>  Executing command: mkdir -p "/opt/maven/sites/project/3.4-SNAPSHOT/."
>  Executing command: scp -t 
> "/opt/maven/sites/project/3.4-SNAPSHOT/./wagon4279752042048724778.zip"
>  Uploading: ./wagon4279752042048724778.zip to 
> scp://mvnsitehost/opt/maven/sites/project/3.4-SNAPSHOT/
>  
>  
> ##############################################################################
>  Transfer finished. 316495 bytes copied in 0.031 seconds
>  Executing command: cd "/opt/maven/sites/project/3.4-SNAPSHOT/./"; unzip -q 
> -o "wagon4279752042048724778.zip"; rm -f "wagon4279752042048724778.zip"
>  Executing command: chmod -Rf g+w,a+rX /opt/maven/sites/project/3.4-SNAPSHOT/
>  scp://mvnsitehost/opt/maven/sites/project/3.4-SNAPSHOT/ - Session: 
> Disconnecting  
>  scp://mvnsitehost/opt/maven/sites/project/3.4-SNAPSHOT/ - Session: 
> Disconnected
>  [INFO] 
> ------------------------------------------------------------------------
>  [INFO] BUILD SUCCESS
> {noformat}
> So, clearly the _new behavior_ is the _Connection Refused_:
> {noformat}
>  Password for buildagent@mvnsitehost: 
> scp://mvnsitehost/opt/maven/sites/project/3.4-SNAPSHOT/ - Session: Connection 
> refused
> {noformat}
> (?) Could version 2.6 have broken the private key logic?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to