You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Steinar Bang (JIRA)" <ji...@apache.org> on 2019/07/11 15:48:00 UTC

[jira] [Updated] (WAGON-563) wagon-ssh fails when connecting to sftp on debian 10

     [ https://issues.apache.org/jira/browse/WAGON-563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steinar Bang updated WAGON-563:
-------------------------------
    Issue Type: Bug  (was: Improvement)

> wagon-ssh fails when connecting to sftp on debian 10
> ----------------------------------------------------
>
>                 Key: WAGON-563
>                 URL: https://issues.apache.org/jira/browse/WAGON-563
>             Project: Maven Wagon
>          Issue Type: Bug
>    Affects Versions: 3.2.0, 3.3.3
>            Reporter: Steinar Bang
>            Priority: Major
>
> I've upgraded the maven repository server from debian 9.9 "stretch" to debian 10 "buster" and after this, sftp maven deploy stopped working.
> "mvn deploy" fails with this error message:
> {noformat}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project parent: Failed to deploy artifacts: Could not transfer artifact no.priv.bang.ukelonn:parent:pom:1.0.0-20190710.210603-1 from/to ssh-maven-travis (sftp://maven.bang.priv.no/repository): Error occurred while deploying 'no/priv/bang/ukelonn/parent/1.0.0-SNAPSHOT/parent-1.0.0-20190710.210603-1.pom' to remote repository: sftp://maven.bang.priv.no/repository: Permission denied -> [Help 1]
> {noformat}
> Connecting to sftp using the same username and credentials and I can upload and delete files in the repository:
> {noformat}
> sb@lorenzo:~/workspaces/ws03/ukelonn$ sftp -i ~/.ssh/id_rsa_maven maven@maven.bang.priv.no
> Connected to maven.bang.priv.no.
> sftp> 
> {noformat}
> Versions of everything:
> * Server side
> ** debian 10 "buster", amd64
> ** openssh-sftp-server 1:7.9p1-10 
> * Client side
> **  debian 9.9 "stretch"
> ** openjdk-8 1.8.0_212
> ** maven 3.6
> ** wagon-ssh 3.2.0 and 3.3.3 (both versions failed)
> The project where deploy fails: https://github.com/steinarb/ukelonn



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)