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

scpexe won't honour .ssh/config information

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0-beta-3
    • wagon-ssh
    • None

    Description

      scp test.xml sch-login01.osl.basefarm.net:/www/schibstedsok/data/httpd/dev.schibstedsok.no_443/htdocs/maven2/schibstedsok/commons-log4j/1.3-SNAPSHOT/test.xml

      from the command line works just fine.
      My local username is mick, and my login on the sch-login01 machine is mickw.
      Correspondingly my .ssh/config file contains:
      Host sch-login01.osl.basefarm.net
      User mickw

      My pom.xml specifies:
      <distributionManagement>
      <repository>
      <url>scpexe://sch-login01.osl.basefarm.net/www/schibstedsok/data/httpd/dev.schibstedsok.no_443/htdocs/maven2</url>

      But when running "mvn deploy" I get:

      Uploading: scpexe://sch-login01.osl.basefarm.net/www/schibstedsok/data/httpd/dev.schibstedsok.no_443/htdocs/maven2/schibstedsok/commons-log4j/1.3-SNAPSHOT/commons-log4j-1.3-20060831.163911-1.jar
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Error deploying artifact: Error executing command for transfer

      Exit code 255 - Permission denied (publickey,password,keyboard-interactive).

      Attachments

        Issue Links

          Activity

            People

              brett Brett Porter
              mck Michael Semb Wever
              Votes:
              3 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: