Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
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
- is related to
-
MRELEASE-154 mvn release:perform does not inherit command line variable
- Closed